mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
* Simplification.
This commit is contained in:
parent
a4c63c6e8e
commit
84c4631221
21 changed files with 77 additions and 67 deletions
|
@ -2,11 +2,11 @@ source common.sh
|
|||
|
||||
export NIX_BUILD_HOOK="build-hook.hook.sh"
|
||||
|
||||
drvPath=$($TOP/src/nix-instantiate/nix-instantiate build-hook.nix)
|
||||
drvPath=$($nixinstantiate build-hook.nix)
|
||||
|
||||
echo "derivation is $drvPath"
|
||||
|
||||
outPath=$($TOP/src/nix-store/nix-store -quf "$drvPath")
|
||||
outPath=$($nixstore -quf "$drvPath")
|
||||
|
||||
echo "output path is $outPath"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue