forked from lix-project/lix
* Test `nix-store -q --binding'.
This commit is contained in:
parent
ea9c35d3cc
commit
e3daee919d
|
@ -27,6 +27,7 @@ export xmlflags="@xmlflags@"
|
|||
export xsltproc="@xsltproc@"
|
||||
|
||||
export version=@version@
|
||||
export system=@system@
|
||||
|
||||
export nixinstantiate=$TOP/src/nix-instantiate/nix-instantiate
|
||||
export nixstore=$TOP/src/nix-store/nix-store
|
||||
|
|
|
@ -2,6 +2,8 @@ source common.sh
|
|||
|
||||
drvPath=$($nixinstantiate simple.nix)
|
||||
|
||||
test "$($nixstore -q --binding system "$drvPath")" = "$system"
|
||||
|
||||
echo "derivation is $drvPath"
|
||||
|
||||
outPath=$($nixstore -rvv "$drvPath")
|
||||
|
|
Loading…
Reference in a new issue