diff options
Diffstat (limited to 'corepkgs/derivation.nix')
-rw-r--r-- | corepkgs/derivation.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/corepkgs/derivation.nix b/corepkgs/derivation.nix index 0e16ad6fa300..d5044a83b1c2 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; }; }; |