mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
* Mac OS X (and POSIX) doesn't have readlink.
This commit is contained in:
parent
52a2f41320
commit
d8cda7c3dc
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue