diff --git a/test/bootstrap/test-config.nix b/test/bootstrap/test-config.nix new file mode 100644 index 00000000..7cc2f4c6 --- /dev/null +++ b/test/bootstrap/test-config.nix @@ -0,0 +1,3 @@ +{...}: { + config.internal.hixUrl = "HIX"; +} diff --git a/test/bootstrap/test.nix b/test/bootstrap/test.nix index f1341326..41ad2a9d 100644 --- a/test/bootstrap/test.nix +++ b/test/bootstrap/test.nix @@ -2,7 +2,7 @@ { test = builtins.toFile "bootstrap-test" '' cd ./root - nix run path:$hix_dir#cli -- bootstrap --hix-url="path:$hix_dir" + check_match 'nix run path:$hix_dir#bootstrap' 'Initialized' "Bootstrap command didn't initialize git repo" check_match 'nix run .#ghci -- -p red-panda -t main <<< :quit' 'success' 'Running tests in generated project failed' ''; }