diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-13 12:27:41 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-13 15:45:37 +0200 |
commit | 30364657608090625e9c7f861da53f42f8e913f2 (patch) | |
tree | ad9a37b5b6b57223858a5334478b810b8738edc7 /lib/default.nix | |
parent | 9591244e00f3a164a96b60585e687d46c565876f (diff) | |
download | nixpkgs-30364657608090625e9c7f861da53f42f8e913f2.tar nixpkgs-30364657608090625e9c7f861da53f42f8e913f2.tar.gz nixpkgs-30364657608090625e9c7f861da53f42f8e913f2.tar.bz2 nixpkgs-30364657608090625e9c7f861da53f42f8e913f2.tar.lz nixpkgs-30364657608090625e9c7f861da53f42f8e913f2.tar.xz nixpkgs-30364657608090625e9c7f861da53f42f8e913f2.tar.zst nixpkgs-30364657608090625e9c7f861da53f42f8e913f2.zip |
lib/meta.nix: introduce getExe'
getExe' can be used to get a binary other than the mainProgram from a derivation. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'lib/default.nix')
-rw-r--r-- | lib/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix index 73b8ad87154..124528c5f50 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -116,7 +116,7 @@ let inherit (self.derivations) lazyDerivation; inherit (self.meta) addMetaAttrs dontDistribute setName updateName appendToName mapDerivationAttrset setPrio lowPrio lowPrioSet hiPrio - hiPrioSet getLicenseFromSpdxId getExe; + hiPrioSet getLicenseFromSpdxId getExe getExe'; inherit (self.filesystem) pathType pathIsDirectory pathIsRegularFile; inherit (self.sources) cleanSourceFilter cleanSource sourceByRegex sourceFilesBySuffices |