per-user module: symlinkJoin -> buildEnv
Refs https://github.com/NixOS/nixpkgs/pull/31283
This commit is contained in:
parent
ae4cb860ea
commit
9c8680981f
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue