nixos-config/lib/builders/build-fds-env.nix

9 lines
213 B
Nix

{ buildEnv, extendedStdenv }:
{ paths ? [ ], pathsToLink ? [ ], ... }@args:
buildEnv (args // {
paths = extendedStdenv ++ paths;
pathsToLink = [ "/bin" "/etc" "/share" "/lib" "/libexec" ] ++ pathsToLink;
})