diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-04T12·45+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-04T12·45+0000 |
commit | 9936da6b546d1ce643eca21ac76c6e7d568de1c2 (patch) | |
tree | 89b3becb5f9197f3d453355262549ea8bf08b9d2 /tests/multiple-outputs.nix | |
parent | 9d43a0238235cfbe914e2051db89095699a2df95 (diff) |
* Check whether the outputName attribute works.
Diffstat (limited to 'tests/multiple-outputs.nix')
-rw-r--r-- | tests/multiple-outputs.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix index 09946137d7c8..6add7dd6f997 100644 --- a/tests/multiple-outputs.nix +++ b/tests/multiple-outputs.nix @@ -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" |