about summary refs log tree commit diff
path: root/lib/path/tests
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-06-26 12:12:34 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-06-26 12:12:34 +0200
commit050e7e29aac1606a64b7a189b0affbc6a8e497df (patch)
tree3dd19e59e15bf357068cd55589480ceedfe1b1cc /lib/path/tests
parent1a84e8428a835062119fcd3226e61a3e0e8c3710 (diff)
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/path/tests')
-rw-r--r--lib/path/tests/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/path/tests/default.nix b/lib/path/tests/default.nix
index 9a31e42828f48..6b8e515f43304 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}