* Check whether the outputName attribute works.

This commit is contained in:
Eelco Dolstra 2012-01-04 12:45:53 +00:00
parent 9d43a02382
commit 9936da6b54

View File

@ -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"