aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2012-01-04 12:45:53 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2012-01-04 12:45:53 +0000
commit9936da6b546d1ce643eca21ac76c6e7d568de1c2 (patch)
tree89b3becb5f9197f3d453355262549ea8bf08b9d2
parent9d43a0238235cfbe914e2051db89095699a2df95 (diff)
* Check whether the outputName attribute works.
-rw-r--r--tests/multiple-outputs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix
index 09946137d..6add7dd6f 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"