Commit Graph

2556 Commits

Author SHA1 Message Date
Jean-Baptiste Giraudeau 21feda33e7 devshell: filter non-derivation from nativeBuildInputs 2022-10-12 21:06:53 +02:00
IOHK a1d318e715 Update Hackage and Stackage 0.0.51 2022-10-12 01:19:09 +00:00
Hamish Mackenzie a070082964 Improve flake code (#1743)
* Add hydraJobs.devShell and flatten hydraJobs

Also moves the `rawFlake` code into a `haskellLib.mkFlake` function

* Unflatten hydraJobs and add ciJobs

It turns out it is nice to use system first in the hierarchy for cicero.  Also both hydra and cicero are ok with a deep hierarchy of attributes.

* Refactoring

* Add mkFlakeCiJobs

* Avoid `:` in ciJobs and hydraJobs

* Use cabal names again in ciJobs

* More updates

Turns off code coverage by default.
Rename flattenChecks to mkFlakeChecks.
Adds flake packages to ciJobs and hydraJobs.

* Expand comment
0.0.50
2022-10-11 23:52:50 +13:00
IOHK 0a0885e410 Update Hackage and Stackage 0.0.49 2022-10-11 01:22:01 +00:00
Hamish Mackenzie 62a4287cac Set daysUntilClose to 60 in stale.yaml (#1749) 0.0.48 2022-10-10 16:22:38 +02:00
IOHK 2234bd36ab Update Hackage and Stackage 0.0.47 2022-10-10 01:14:30 +00:00
Hamish Mackenzie f80e2d6370 Let cabal configure errors break IFD (#1744)
In the past hydra didn't give good feedback on eval time errors.  Deferring the errors was a way to get them into a build log (instead of the eval log that would get overwritten with the next eval).

I'm not sure how well this actually worked since it is super easy to introduce an eval time dependency on a broken project.  For instance if you try to enumerate the components in a project haskell that failed to configure the error would be forced (in some cases a more cryptic one).

Now that hydra is better at reporting eval errors I think we should try to fail fast again.
0.0.46
2022-10-10 13:21:16 +13:00
IOHK 6658d56a1d Update Hackage and Stackage 0.0.45 2022-10-09 01:13:57 +00:00
IOHK 6b8c374877 Update Hackage and Stackage 0.0.44 2022-10-08 01:12:40 +00:00
Hamish Mackenzie b302c7a5b5 roots and coverage should be in hydraJobs (#1742)
Not hydraJobs.hydraJobs
0.0.43
2022-10-07 18:24:59 +13:00
IOHK e49b05c9a5 Update Hackage and Stackage 2022-10-07 01:16:36 +00:00
Hamish Mackenzie 11f6d7ae56 Use pkgsBuildBuild for evalPackages default (#1739)
Instead of `buildPackages` which is actually pkgsBuildHost.  This makes sure that tools like `gdb` and `gcc` that we might depend on indirectly are the purely native ones (not versions for cross compiling).
0.0.42
2022-10-07 00:38:39 +13:00
Yvan Sraka 8309423b1a Fix #518: examples in documentation need to be tested (#1714) 0.0.41 2022-10-06 10:36:38 +02:00
IOHK b6fc4267ed Update Hackage and Stackage 0.0.40 2022-10-06 01:19:38 +00:00
Hamish Mackenzie e94f30c3db Check that stack builds (#1737) 0.0.39 2022-10-05 23:02:03 +13:00
IOHK fd7b85d34f Update Hackage and Stackage 0.0.38 2022-10-05 01:18:32 +00:00
Hamish Mackenzie db3e7e6ccb Remove unused problematic input nix-tools (#1736) 0.0.37 2022-10-05 13:57:55 +13:00
Hamish Mackenzie 9b73e5d8fb Fix bug combining hydraJobs (#1734) 0.0.36 2022-10-04 23:52:45 +13: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