about summary refs log tree commit diff
path: root/corepkgs/derivation.nix
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs/derivation.nix')
-rw-r--r--corepkgs/derivation.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/corepkgs/derivation.nix b/corepkgs/derivation.nix
index 157a1647ebd9..2e2d0002c2b8 100644
--- a/corepkgs/derivation.nix
+++ b/corepkgs/derivation.nix
@@ -7,7 +7,10 @@ let
 
   strict = derivationStrict drvAttrs;
   
-  commonAttrs = drvAttrs // (builtins.listToAttrs outputsList) // { all = map (x: x.value) outputsList; };
+  commonAttrs = drvAttrs // (builtins.listToAttrs outputsList) //
+    { all = map (x: x.value) outputsList;
+      inherit drvAttrs;
+    };
 
   outputToAttrListElement = outputName:
     { name = outputName;