summaryrefslogtreecommitdiff
path: root/lib/default.nix
diff options
context:
space:
mode:
authorYueh-Shun Li <shamrocklee@posteo.net>2023-05-28 11:26:14 +0000
committerYueh-Shun Li <shamrocklee@posteo.net>2025-01-18 14:20:45 +0800
commit2439ead79150130e48f6c45409337125f4250685 (patch)
tree085f03bbba59fc9edbfcad72edb980bd121d7f66 /lib/default.nix
parentdiscordo: 0-unstable-2024-12-22 -> 0-unstable-2025-01-12 (#373840) (diff)
downloadnixpkgs-2439ead79150130e48f6c45409337125f4250685.tar.gz
lib.extendMkDerivation: init
Add functions extendMkDerivation to lib.customisation. Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Lin Jian <me@linj.tech> Co-authored-by: Philip Taron <philip.taron@gmail.com>
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 849d6ce8f9d6..f931524002f2 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -121,7 +121,8 @@ let
noDepEntry fullDepEntry packEntry stringAfter;
inherit (self.customisation) overrideDerivation makeOverridable
callPackageWith callPackagesWith extendDerivation hydraJob
- makeScope makeScopeWithSplicing makeScopeWithSplicing';
+ makeScope makeScopeWithSplicing makeScopeWithSplicing'
+ extendMkDerivation;
inherit (self.derivations) lazyDerivation optionalDrvAttr warnOnInstantiate;
inherit (self.meta) addMetaAttrs dontDistribute setName updateName
appendToName mapDerivationAttrset setPrio lowPrio lowPrioSet hiPrio