about summary refs log tree commit diff
path: root/tests/build-hook.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-18T13·15+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-18T13·15+0000
commit1dcf208f562d853909ad53772c208dcb2a73de88 (patch)
treeb7f79afeb5bc7531c63dead1567913bed523a781 /tests/build-hook.sh
parent93b6926054b0b339d310a3075a677a65676c7c11 (diff)
* Clean up some tests (use nix-build where appropriate).
Diffstat (limited to 'tests/build-hook.sh')
-rw-r--r--tests/build-hook.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/build-hook.sh b/tests/build-hook.sh
index 8cd9e8171fe1..b9de00993654 100644
--- a/tests/build-hook.sh
+++ b/tests/build-hook.sh
@@ -2,11 +2,7 @@ source common.sh
 
 export NIX_BUILD_HOOK="build-hook.hook.sh"
 
-drvPath=$($nixinstantiate build-hook.nix)
-
-echo "derivation is $drvPath"
-
-outPath=$($nixstore -quf "$drvPath")
+outPath=$($nixbuild build-hook.nix)
 
 echo "output path is $outPath"