mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
* Check whether the outputName attribute works.
This commit is contained in:
parent
9d43a02382
commit
9936da6b54
@ -17,8 +17,8 @@ rec {
|
||||
|
||||
b = mkDerivation {
|
||||
defaultOutput = assert a.second.helloString == "Hello, world!"; a;
|
||||
firstOutput = a.first.first;
|
||||
secondOutput = a.second.first.first.second.second.first.second;
|
||||
firstOutput = assert a.outputName == "first"; a.first.first;
|
||||
secondOutput = assert a.second.outputName == "second"; a.second.first.first.second.second.first.second;
|
||||
allOutputs = a.all;
|
||||
name = "multiple-outputs-b";
|
||||
builder = builtins.toFile "builder.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user