From 9936da6b546d1ce643eca21ac76c6e7d568de1c2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Jan 2012 12:45:53 +0000 Subject: [PATCH] * Check whether the outputName attribute works. --- tests/multiple-outputs.nix | 4 ++-- 1 file 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"