* Test nix-build. This also tests indirect roots.
This commit is contained in:
parent
8cd646b6af
commit
5cb6c42088
5 changed files with 24 additions and 4 deletions
|
@ -36,4 +36,6 @@ cat $outPath/input-2/bar
|
|||
|
||||
# Check that the derivers are set properly.
|
||||
test $($nixstore -q --deriver "$outPath") = "$drvPath"
|
||||
$nixstore -q --deriver $(/bin/ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv"
|
||||
$nixstore -q --deriver $(ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv"
|
||||
|
||||
$nixstore --clear-substitutes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue