File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,13 @@ jobs:
4040 - name : Build
4141 run : |
4242 # stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
43+ export NIX_PATH="nixpkgs=$(nix run .#nixpkgsPath)"
4344 nix run .#stack -- build --nix --test --bench --no-run-tests --no-run-benchmarks
4445
4546 - name : Test
4647 run : |
4748 # stack test --system-ghc --test-arguments --print
49+ export NIX_PATH="nixpkgs=$(nix run .#nixpkgsPath)"
4850 nix run .#stack -- test --nix --test-arguments --print
4951
5052 no-gmp :
Original file line number Diff line number Diff line change 7474
7575 exit 0
7676 '' ;
77+
78+ nixpkgsPath = pkgs . writeShellScriptBin "nixpkgsPath.sh" "echo -n ${ pkgs . path } " ;
7779 } ) ;
7880
7981 inherit flake ;
80-
81- nixpkgsPath = pkgs . path ;
8282 }
8383 ) ;
8484
You can’t perform that action at this time.
0 commit comments