diff options
author | Domen Kožar <domen@dev.si> | 2016-10-30 11:32:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-30 11:32:15 +0100 |
commit | 62edf873aad11ffd4acc95026a416eaa37fc42ec (patch) | |
tree | aa3e77c4880b3c8480e5c1115fbf953db6764195 /pkgs/stdenv/generic | |
parent | 9ca0521099ab44b65c763a200f741356b6073f33 (diff) | |
parent | 39b64b52ed349bb7b6f26f50013335d76d1605f6 (diff) |
Merge pull request #18660 from aneeshusa/add-override-attrs
mkDerivation: add overrideAttrs function
Diffstat (limited to 'pkgs/stdenv/generic')
-rw-r--r-- | pkgs/stdenv/generic/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index c1a341dd6fa58..edd5c2785dcf9 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -234,6 +234,7 @@ let outputs = outputs'; } else { })))) ( { + overrideAttrs = f: mkDerivation (attrs // (f attrs)); # The meta attribute is passed in the resulting attribute set, # but it's not part of the actual derivation, i.e., it's not # passed to the builder and is not a dependency. But since we |