lib/mkProfileAttrs: don't change to path
store paths can't be appended to a path
This commit is contained in:
parent
ef1ee6e6b8
commit
8ab865a853
|
@ -27,7 +27,7 @@ let mkProfileAttrs =
|
|||
f = n: _:
|
||||
lib.optionalAttrs
|
||||
(lib.pathExists "${dir}/${n}/default.nix")
|
||||
{ default = /. + "${dir}/${n}"; }
|
||||
{ default = "${dir}/${n}"; }
|
||||
// mkProfileAttrs "${dir}/${n}";
|
||||
in
|
||||
lib.mapAttrs f imports;
|
||||
|
|
Loading…
Reference in a new issue