mirror of
https://github.com/NixOS/nix
synced 2025-07-07 22:33:57 +02:00
* Regression test for the `exportReferencesGraph'
derivation attribute.
This commit is contained in:
parent
33ecb42991
commit
2d5114452d
8 changed files with 69 additions and 33 deletions
22
tests/dependencies.nix
Normal file
22
tests/dependencies.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
with import ./config.nix;
|
||||
|
||||
let {
|
||||
|
||||
input1 = mkDerivation {
|
||||
name = "dependencies-input-1";
|
||||
builder = ./dependencies.builder1.sh;
|
||||
};
|
||||
|
||||
input2 = mkDerivation {
|
||||
name = "dependencies-input-2";
|
||||
builder = ./. ~ "dependencies.builder2.sh";
|
||||
};
|
||||
|
||||
body = mkDerivation {
|
||||
name = "dependencies";
|
||||
builder = ./dependencies.builder0.sh + "/FOOBAR/../.";
|
||||
input1 = input1 + "/.";
|
||||
inherit input2;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue