about summary refs log tree commit diff
path: root/tests/nix-pull.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T14·26+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T14·26+0000
commitb90787290df216f511ec296c85390e645ca1e89f (patch)
treec269893e2d19f6bac41bce4fbd77b3c5f1b09812 /tests/nix-pull.sh
parent089c41a0c2ecf91c55495547a5462d75f36be5f4 (diff)
* TDD! Woohoo!
Diffstat (limited to 'tests/nix-pull.sh')
-rw-r--r--tests/nix-pull.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nix-pull.sh b/tests/nix-pull.sh
index 03dcdb21d506..ddbe0f97f32b 100644
--- a/tests/nix-pull.sh
+++ b/tests/nix-pull.sh
@@ -36,6 +36,6 @@ cat $outPath/input-2/bar
 
 # Check that the derivers are set properly.
 test $($nixstore -q --deriver "$outPath") = "$drvPath"
-$nixstore -q --deriver $(ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv" 
+$nixstore -q --deriver $(readLink $outPath/input-2) | grep -q -- "-input-2.drv" 
 
 $nixstore --clear-substitutes