mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-31 10:58:24 +00:00
16 lines
312 B
Nix
16 lines
312 B
Nix
|
{ pkgs, lib, self }:
|
||
|
|
||
|
rec {
|
||
|
/*
|
||
|
Given a list of derivations, return a list of the store path with the `bin`
|
||
|
output (or at least with "/bin" in each of the paths).
|
||
|
*/
|
||
|
getBin = drvs:
|
||
|
builtins.map (v: lib.getBin v) drvs;
|
||
|
|
||
|
/*
|
||
|
*/
|
||
|
getLibexec = drvs:
|
||
|
builtins.map (v: "${v}/libexec") drvs;
|
||
|
}
|