Hamish Mackenzie
Hamish Mackenzie
@angerman do you remember this? Any idea how to reproduce it?
If symlink does not work could we copy the `flake.lock` in the daily `hackage.nix` and `stackage.nix` update job?
Is the `flake.lock` in haskell.nix suitable though? Maybe not.
Could we remove `docs/tutorials/getting-started-flakes/flake.lock` and before running the tests run: ``` nix flake lock --override-input haskellNix ../../.. ```
> Finally here is my repo attempting this: > > https://github.com/ParetoOptimalDev/test-haskell-nix-template/ Is that repo public? I get a 404 error.
This has been fixed for `cabalProject` https://github.com/input-output-hk/haskell.nix/blob/9b73e5d8fbb7a79196b84d5db894547d977e8cab/lib/call-cabal-project-to-nix.nix#L527 I think someone needs to check if it has been fixed for `stackProject`.
We need to better document how to run tests. Instead of building `pkgA.components.tests.testX` you can run the by building `pkgA.checks.testX`. Flakes include `checks` included in checks haskell.nix flakes so that...
That is odd. Is `https://cache.nixos.org` included in `substituters` in your `nix.config` along with its `trusted-public-keys` entry `cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=`?
Try: ``` packages.funflow.components.tests.unit-tests.testWrapper = "PATH=${pkgs.coreutils}/bin:$PATH"; ```
I have actually been having some success using `build-tools` as you suggested [here](https://github.com/input-output-hk/asterius/blob/wip/nix-tools-3/nix/default.nix#L107). I was able to get all the tests we expected to pass working in nix [here](https://hydra.iohk.io/jobset/Cardano/tools-pr-5). I...