forked from pub-solar/os
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: _:
|
f = n: _:
|
||||||
lib.optionalAttrs
|
lib.optionalAttrs
|
||||||
(lib.pathExists "${dir}/${n}/default.nix")
|
(lib.pathExists "${dir}/${n}/default.nix")
|
||||||
{ default = /. + "${dir}/${n}"; }
|
{ default = "${dir}/${n}"; }
|
||||||
// mkProfileAttrs "${dir}/${n}";
|
// mkProfileAttrs "${dir}/${n}";
|
||||||
in
|
in
|
||||||
lib.mapAttrs f imports;
|
lib.mapAttrs f imports;
|
||||||
|
|
Loading…
Reference in a new issue