lib/mkProfileAttrs: don't change to path

store paths can't be appended to a path
This commit is contained in:
Pacman99 2021-03-23 12:05:30 -07:00
parent ef1ee6e6b8
commit 8ab865a853

View file

@ -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;