Merge pull request #18660 from aneeshusa/add-override-attrs

mkDerivation: add overrideAttrs function
This commit is contained in:
Domen Kožar
2016-10-30 11:32:15 +01:00
committed by GitHub
3 changed files with 74 additions and 10 deletions

View File

@@ -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