about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/add.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/add.sh b/tests/add.sh
index b6ae3ebea4ea..83092b26c143 100644
--- a/tests/add.sh
+++ b/tests/add.sh
@@ -10,4 +10,4 @@ hash=$($nixstore -q --hash $path)
 
 echo $hash
 
-test "$hash" = "sha256:$(nix-hash --type sha256 --base32 $file)"
+test "$hash" = "sha256:$($nixhash --type sha256 --base32 $file)"