aboutsummaryrefslogtreecommitdiff
path: root/corepkgs
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs')
-rw-r--r--corepkgs/derivation.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/corepkgs/derivation.nix b/corepkgs/derivation.nix
index 757108be3..c0fbe8082 100644
--- a/corepkgs/derivation.nix
+++ b/corepkgs/derivation.nix
@@ -6,7 +6,7 @@ drvAttrs @ { outputs ? [ "out" ], ... }:
let
strict = derivationStrict drvAttrs;
-
+
commonAttrs = drvAttrs // (builtins.listToAttrs outputsList) //
{ all = map (x: x.value) outputsList;
inherit drvAttrs;
@@ -21,7 +21,7 @@ let
inherit outputName;
};
};
-
+
outputsList = map outputToAttrListElement outputs;
-
+
in (builtins.head outputsList).value