diff options
author | tv <tv@krebsco.de> | 2017-11-12 09:57:07 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-11-12 09:57:50 +0100 |
commit | 9c8680981fc93c7bce3c4a5198d1d4cb36bd876a (patch) | |
tree | c14514caaa71cdbdca148321dc048435cec0f7cd | |
parent | ae4cb860ea2bd99d80e66e48480e0d2a9731c2bd (diff) |
per-user module: symlinkJoin -> buildEnv
Refs https://github.com/NixOS/nixpkgs/pull/31283
-rw-r--r-- | krebs/3modules/per-user.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/krebs/3modules/per-user.nix b/krebs/3modules/per-user.nix index 9cbd9e1ea..9080e3b44 100644 --- a/krebs/3modules/per-user.nix +++ b/krebs/3modules/per-user.nix @@ -17,9 +17,12 @@ in { environment = { etc = flip mapAttrs' cfg (name: { packages, ... }: { name = "per-user/${name}"; - value.source = pkgs.symlinkJoin { + value.source = pkgs.buildEnv { name = "per-user.${name}"; paths = packages; + pathsToLink = [ + "/bin" + ]; }; }); profiles = ["/etc/per-user/$LOGNAME"]; |