blob: 98d61ef49b9c686c0640a157b72b9f2cc56bdb44 (
plain) (
tree)
|
|
source common.sh
clearStore
if nix-instantiate --readonly-mode ./import-derivation.nix; then
echo "read-only evaluation of an imported derivation unexpectedly failed"
exit 1
fi
outPath=$(nix-build ./import-derivation.nix --no-out-link)
[ "$(cat $outPath)" = FOO579 ]
|