diff --git a/test/bootstrap/test.nix b/test/bootstrap/test.nix index 63b3b3d..88dce29 100644 --- a/test/bootstrap/test.nix +++ b/test/bootstrap/test.nix @@ -1,9 +1,9 @@ -{...}: +{pkgs}: { - test = builtins.toFile "bootstrap-test" '' + test = pkgs.writeText "bootstrap-test" '' cd ./root git init - check_match 'nix run path:$hix_dir#bootstrap' 'generated red-panda-core' "Bootstrap command didn't generate cabal files" - check_match 'nix run .#ghci -- -p red-panda -t main <<< :quit' 'success' 'Running tests in generated project failed' + check_match '${pkgs.nix}/bin/nix run path:$hix_dir#bootstrap' 'generated red-panda-core' "Bootstrap command didn't generate cabal files" + check_match '${pkgs.nix}/bin/nix run .#ghci -- -p red-panda -t main <<< :quit' 'success' 'Running tests in generated project failed' ''; }