nixos-config/subprojects/wrapper-manager-fds/lib/utils.nix

16 lines
312 B
Nix
Raw Normal View History

{ 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;
}