mirror of
https://github.com/NixOS/nix.git
synced 2025-12-17 22:41:08 +01:00
Rename a few things in new tests
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
8eeaf591db
commit
278c94d607
4 changed files with 10 additions and 11 deletions
|
|
@ -12,13 +12,13 @@ source common.sh
|
|||
# - build the dependent derivation
|
||||
# - check that the path of the output coincides with that of the original derivation
|
||||
|
||||
drv=$(nix-instantiate ./text-hashed-output.nix -A root)
|
||||
drv=$(nix-instantiate ./text-hashed-output.nix -A hello)
|
||||
nix show-derivation "$drv"
|
||||
|
||||
drvDep=$(nix-instantiate ./text-hashed-output.nix -A dependent)
|
||||
nix show-derivation "$drvDep"
|
||||
drvProducingDrv=$(nix-instantiate ./text-hashed-output.nix -A producingDrv)
|
||||
nix show-derivation "$drvProducingDrv"
|
||||
|
||||
out1=$(nix-build ./text-hashed-output.nix -A dependent --no-out-link)
|
||||
out1=$(nix-build ./text-hashed-output.nix -A producingDrv --no-out-link)
|
||||
|
||||
nix path-info $drv --derivation --json | jq
|
||||
nix path-info $out1 --derivation --json | jq
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue