mirror of
https://github.com/NixOS/nix
synced 2025-07-09 16:13:54 +02:00
Rename import-derivation -> import-from-derivation
This commit is contained in:
parent
3fb6605d3d
commit
ee3f0b7a8b
8 changed files with 8 additions and 8 deletions
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source common.sh
|
||||
|
||||
clearStoreIfPossible
|
||||
|
||||
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 ]
|
Loading…
Add table
Add a link
Reference in a new issue