Commit Graph

2539 Commits

Author SHA1 Message Date
Jean-Baptiste Giraudeau ba87b4d2d1 Default to pkgs.pkgsBuildBuild instead of pkgs.buildPackages for eval 2022-10-06 12:54:55 +02:00
Mango The Fourth e49b15fefc Choose proper llvm version for llvm-hs and make stack infra work like stack does (#1724)
* update llvm-hs llvm from 11 to 12

* allow passing version args to build-tools; fix llvm-hs build-tools, pass allRefs to builtins.fetchGit to allow fetching non-standard-refs (to mirror stack behaviour)
0.0.35
2022-10-04 23:20:50 +13:00
Yvan Sraka d20fc9dc22 Fix #1693: writing GitHub issue and pull request templates (#1703)
* Fix #1693: writing GitHub issue and pull request templates

* Create feature_request.md

* Update bug_report.md

* Update feature_request.md

Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com>
0.0.34
2022-10-04 21:46:47 +13:00
IOHK abc0800895 Update Hackage and Stackage 0.0.33 2022-10-04 01:13:51 +00:00
Shea Levy ed55264287 Update scripts: Use shallow clones for faster bootstrapping (#1733) 0.0.32 2022-10-03 14:39:21 +01:00
IOHK 769e140242 Update Hackage and Stackage 0.0.31 2022-10-03 13:30:56 +00:00
Jean-Baptiste G 4852bdb60c devshell: add pkg-config dependencies and set PKG_CONFIG_PATH. (#1725) 0.0.30 2022-10-03 18:01:13 +13:00
Hamish Mackenzie ec0c59e2de Support for packages with only tests (#1732)
* Support for packages with only tests

Fixes #362

* Fix for ghcjs
0.0.29
2022-10-03 15:39:47 +13:00
IOHK eb719dbbe8 Update Hackage and Stackage 0.0.28 2022-10-03 01:15:48 +00:00
Hamish Mackenzie 4e32644c5b Add stack-nix to rawFlake.hydraJobs (#1731) 0.0.27 2022-10-03 13:00:52 +13:00
Deniz Dogan 127e423397 Fix duplicate ${system} in flake tutorial (#1729)
When I followed this tutorial, my default package ended up as `packages.aarch64-darwin.aarch64-darwin.default`. Removing this "extra" `${system}` solves the problem, but admittedly I'm not 100% sure what's going on here.
0.0.26
2022-10-03 11:06:53 +13:00
IOHK 1fbe8f674b Update Hackage and Stackage 0.0.25 2022-10-02 01:16:08 +00:00
IOHK 4b252a2563 Update Hackage and Stackage 0.0.24 2022-10-01 01:15:58 +00:00
Hamish Mackenzie 7462e537ef Fix building the stack tool (#1723)
Fixes #218

Tested with:

```
nix-build -E '((import ./. {}).pkgs-unstable.haskell-nix.tool "ghc924" "stack" "2.9.1")'
```
0.0.23
2022-09-30 21:54:38 +13:00
IOHK cbf4aac63e Update Hackage and Stackage 0.0.22 2022-09-30 01:23:28 +00:00
Maxim Koltsov a30665693a Fixes re source-repository-package (#1715)
* Fix regex to match source-repository-package tag

Regex to tell ref from rev was wrong

* Fix fetchGit call when rev and sha256 unspecified

* Update expected output for unit test

* Auto retry concurrency check that keeps failing

Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com>
0.0.21
2022-09-30 13:33:56 +13:00
Mango The Fourth 57d10b2791 fix stack-cache-mismatch by enabling submodules (#1722) 0.0.20 2022-09-30 12:43:59 +13:00
Jean-Baptiste G d6ce79f4b5 fix devshell support for exactDeps = false. (#1721) 0.0.19 2022-09-29 15:25:13 +01:00
Hamish Mackenzie 884ef3aa37 Fix test/tests.sh for other ghc versions (#1719)
Fixes #1482
0.0.18
2022-09-30 01:22:37 +13:00
Hamish Mackenzie 6792c46967 Add "preserved" "help wanted" stalebot exemptions (#1718) 0.0.17 2022-09-29 23:43:44 +13:00
IOHK 112669d1ba Update Hackage and Stackage 0.0.16 2022-09-29 01:18:07 +00:00
Yvan Sraka 816c895063 Fix #1602: set up a stale bot on this repository (#1604)
https://github.com/apps/stale
0.0.15
2022-09-28 22:40:03 +13:00
IOHK e0b91552cd Update Hackage and Stackage 0.0.14 2022-09-28 01:24:38 +00:00
IOHK 3a9ba9f06a Update Hackage and Stackage 0.0.13 2022-09-27 01:23:01 +00:00
Hamish Mackenzie 64e8460c35 Bump nixpkgs pins (#1710)
* Fix ghcjs for time_t is 64bit in emscripten now.
* Fix error: qca2 has been removed, because it depended on qt4.
* Add spdx 3.18 materialization.
* Turn off building tests for wine-5.4 (due to IDL issue).
* Fix options-doc.nix.
* Comment added to force rebuild on hydra
0.0.12
2022-09-27 13:00:15 +13:00
IOHK ff7fee4616 Update Hackage and Stackage 0.0.11 2022-09-26 01:16:38 +00:00
IOHK 92e314dc8f Update Hackage and Stackage 0.0.10 2022-09-25 01:17:10 +00:00
Hamish Mackenzie 4b2b460080 Bump haskell.nix used in nix-tools flake (#1709) 0.0.9 2022-09-24 20:30:00 +12:00
Yvan Sraka 5990fee152 Fix #1674: use Nix flakes rather than Niv to pin nix-tools dependencies (#1694)
* Fix #1674: use Nix flakes rather than Niv to pin `nix-tools` dependencies

* Update nix-tools flake

* Update nix-tools flake.lock

* Update nix-tools flake.nix

* Update nix-tools flake.lock

* Update materialization

* Update materialization

* Update nix-tools flake.lock

Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com>
0.0.8
2022-09-24 18:39:55 +12:00
IOHK 0dc61cb412 Update Hackage and Stackage 0.0.7 2022-09-24 01:16:16 +00:00
IOHK 7a81744da2 Update Hackage and Stackage 0.0.6 2022-09-23 01:23:06 +00:00
IOHK a2cbbba6be Update Hackage and Stackage 0.0.5 2022-09-22 01:17:27 +00:00
Hamish Mackenzie 95b9f13d13 Remove webkitgtk24x-gtk3 mapping (#1706)
* Remove webkitgtk24x-gtk3 mapping

Even just looking for `pkgs.webkitgtk24x-gtk3.version` crashes nix eval with:

```
error: webkitgtk24x-gtk3 has been removed because it's insecure. Please use webkitgtk.
```

* Pin hlint for tests

* Pin hlint for tests
0.0.4
2022-09-21 20:48:01 +12:00
IOHK ecda0a9846 Update Hackage and Stackage 0.0.3 2022-09-21 01:21:59 +00:00
Hamish Mackenzie 9c20232d0f Fix pcap library build (#1704)
Fixes #840
0.0.2
2022-09-20 22:26:16 +12:00
Yvan Sraka 6881d39ef9 Update autotag.yml 0.0.1 2022-09-20 09:41:15 +00:00
Yvan Sraka e167653461 Fix #1672: migrate nix-tools/.buildkite into .buildkite (#1695) 2022-09-20 20:56:48 +12:00
Yvan Sraka 04431a71e1 Create autotag.yml (#1692) 2022-09-20 19:57:55 +12:00
IOHK 25ce8cf624 Update Hackage and Stackage 2022-09-20 01:22:28 +00:00
Hamish Mackenzie c784d65a60 Add nix develop github:input-output-hk/haskell.nix#ghcXXX (#1699)
* Add `nix develop github:input-output-hk/haskell.nix#ghcXXX`

As a quick way to get a shell with ghc and cabal.

* Exclude old versions of GHC to speed up `nix flake check`
2022-09-19 20:25:45 +12:00
IOHK 267cd3f659 Update Hackage and Stackage 2022-09-19 01:20:31 +00:00
IOHK 130a9ea474 Update Hackage and Stackage 2022-09-18 01:17:08 +00:00
IOHK 6fd12cdbb7 Update Hackage and Stackage 2022-09-17 01:16:19 +00:00
Hamish Mackenzie 4c8bbbd3ed Add flake.variants (#1661)
* Add flake.variants

This allows flakes to easily include variations of the
project by with different project arguments.
Anything you can pass to `project.addModule` can be used.
For instance to include variants using ghc 9.2.4:

```
flake.variants.ghc924.compiler-nix-name = pkgs.lib.mkForce "ghc924";
```
Then use it with:

```
nix build .#ghc924:hello:exe:hello
```

This change also:

* Exposes add `combineFlakes` and `rawFlake` for more control over how flakes are combined.

* Includes package coverageReports to the `hydraJobs` of the flakes.

* Tries to make the materialisation concurrency test more reliable
2022-09-16 22:21:54 +12:00
Hamish Mackenzie e922b0a730 Fix for haskell-language-server 1.8 (#1697)
* Fix for haskell-language-server 1.8

It looks like two of the plugins have not been updated in hackage yet (qualifyimportednames and stylishhaskell).

* Add modified ghcide patch for issue 1455

* hlint plugin only works with ghc902

Co-authored-by: cydparser <cydparser@gmail.com>
2022-09-16 14:49:14 +12:00
IOHK 0c57691e4c Update Hackage and Stackage 2022-09-16 01:22:50 +00:00
Andrea Bedini 05c20120f5 Rewire nix-tools 2022-09-15 08:12:03 +02:00
Andrea Bedini 5b7f7f245c Add 'nix-tools/' from commit '555d57e1ea81b79945f2608aa261df20f6b602a5'
git-subtree-dir: nix-tools
git-subtree-mainline: 1110a74a9d
git-subtree-split: 555d57e1ea
2022-09-15 08:11:42 +02:00
IOHK 1110a74a9d Update Hackage and Stackage 2022-09-15 05:28:59 +00:00
Hamish Mackenzie a197fd0afb Add cabal-issue-8352-workaround (#1671)
* Add cabal-issue-8352-workaround

See https://github.com/haskell/cabal/issues/8352

* More script fixes

* More script fixes
2022-09-15 17:13:05 +12:00