about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-05-06T14·43+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-05-06T14·43+0000
commitd8cda7c3dc8e0fa38694ccdd8b93786ffad72deb (patch)
treeb3020d15f33ce2e719973abd7505ef4d0a2874a1
parent52a2f41320d1fe35ceccaef35db9fd661f8bffb6 (diff)
* Mac OS X (and POSIX) doesn't have readlink.
-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 b4a5e33711c4..4f53113bc853 100644
--- a/tests/nix-pull.sh
+++ b/tests/nix-pull.sh
@@ -34,4 +34,4 @@ cat $outPath/input-2/bar
 
 # Check that the derivers are set properly.
 test $($TOP/src/nix-store/nix-store -q --deriver "$outPath") = "$drvPath"
-$TOP/src/nix-store/nix-store -q --deriver $(readlink $outPath/input-2) | grep -q -- "-input-2.drv" 
+$TOP/src/nix-store/nix-store -q --deriver $(/bin/ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv"