about summary refs log tree commit diff
path: root/corepkgs
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2012-01-03T15·27+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2012-01-03T15·27+0000
commit71f3c46cf65c0638946c9bb57c36a2b5f177a672 (patch)
tree91933c92425b341e9d4562ae73dff033986b1011 /corepkgs
parent921111d1972388a0aa1841c545c753cb996c9257 (diff)
* Drop the inefficient "Path" suffix in output attribute names.
Diffstat (limited to 'corepkgs')
-rw-r--r--corepkgs/derivation.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/corepkgs/derivation.nix b/corepkgs/derivation.nix
index 0e16ad6fa3..d5044a83b1 100644
--- a/corepkgs/derivation.nix
+++ b/corepkgs/derivation.nix
@@ -7,13 +7,13 @@ let
   attrValues = attrs:
     map (name: builtins.getAttr name attrs) (builtins.attrNames attrs);
     
-  outputToAttrListElement = output:
-    { name = output;
+  outputToAttrListElement = outputName:
+    { name = outputName;
       value = attrs // {
-        outPath = builtins.getAttr (output + "Path") strict;
+        outPath = builtins.getAttr outputName strict;
         drvPath = strict.drvPath;
         type = "derivation";
-        currentOutput = output;
+        currentOutput = outputName;
       } // outputsAttrs // { all = allList; };
     };