diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-06-26 12:12:34 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-06-26 12:12:34 +0200 |
commit | 050e7e29aac1606a64b7a189b0affbc6a8e497df (patch) | |
tree | 3dd19e59e15bf357068cd55589480ceedfe1b1cc /lib | |
parent | 1a84e8428a835062119fcd3226e61a3e0e8c3710 (diff) | |
download | nixlib-050e7e29aac1606a64b7a189b0affbc6a8e497df.tar nixlib-050e7e29aac1606a64b7a189b0affbc6a8e497df.tar.gz nixlib-050e7e29aac1606a64b7a189b0affbc6a8e497df.tar.bz2 nixlib-050e7e29aac1606a64b7a189b0affbc6a8e497df.tar.lz nixlib-050e7e29aac1606a64b7a189b0affbc6a8e497df.tar.xz nixlib-050e7e29aac1606a64b7a189b0affbc6a8e497df.tar.zst nixlib-050e7e29aac1606a64b7a189b0affbc6a8e497df.zip |
lib/path/tests: Add --show-trace
This should help troubleshoot errors. Fyi --eval is just a flag, not an option with a value.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/path/tests/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/path/tests/default.nix b/lib/path/tests/default.nix index 9a31e42828f4..6b8e515f4330 100644 --- a/lib/path/tests/default.nix +++ b/lib/path/tests/default.nix @@ -24,8 +24,9 @@ pkgs.runCommand "lib-path-tests" { export TEST_LIB=$PWD/lib echo "Running unit tests lib/path/tests/unit.nix" - nix-instantiate --eval lib/path/tests/unit.nix \ - --argstr libpath "$TEST_LIB" + nix-instantiate --eval --show-trace \ + --argstr libpath "$TEST_LIB" \ + lib/path/tests/unit.nix echo "Running property tests lib/path/tests/prop.sh" bash lib/path/tests/prop.sh ${toString seed} |