forked from lix-project/lix
* Check whether the outputName attribute works.
This commit is contained in:
parent
9d43a02382
commit
9936da6b54
|
@ -17,8 +17,8 @@ rec {
|
||||||
|
|
||||||
b = mkDerivation {
|
b = mkDerivation {
|
||||||
defaultOutput = assert a.second.helloString == "Hello, world!"; a;
|
defaultOutput = assert a.second.helloString == "Hello, world!"; a;
|
||||||
firstOutput = a.first.first;
|
firstOutput = assert a.outputName == "first"; a.first.first;
|
||||||
secondOutput = a.second.first.first.second.second.first.second;
|
secondOutput = assert a.second.outputName == "second"; a.second.first.first.second.second.first.second;
|
||||||
allOutputs = a.all;
|
allOutputs = a.all;
|
||||||
name = "multiple-outputs-b";
|
name = "multiple-outputs-b";
|
||||||
builder = builtins.toFile "builder.sh"
|
builder = builtins.toFile "builder.sh"
|
||||||
|
|
Loading…
Reference in a new issue