mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/shells-environment: copy paths to the store again like before #276818
This commit is contained in:
parent
21202fe8a4
commit
ed38b9699a
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ in
|
|||
characters.
|
||||
'';
|
||||
type = with types; attrsOf (oneOf [ (listOf (oneOf [ int str ])) int str path ]);
|
||||
apply = mapAttrs (n: v: if isList v then concatMapStringsSep ":" toString v else toString v);
|
||||
apply = let
|
||||
toStr = v: if isPath v then "${v}" else toString v;
|
||||
in mapAttrs (n: v: if isList v then concatMapStringsSep ":" toStr v else toStr v);
|
||||
};
|
||||
|
||||
environment.profiles = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue