mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
actually works lol
This commit is contained in:
parent
1ce3e3bffb
commit
ab478a238e
2 changed files with 4 additions and 6 deletions
|
|
@ -48,10 +48,8 @@ rec {
|
|||
lib.listToAttrs (
|
||||
map (name: {
|
||||
name = lib.pipe name [
|
||||
|
||||
toString
|
||||
(lib.removeSuffix ".nix")
|
||||
(lib.removePrefix "${toString path}/")
|
||||
(lib.removePrefix "${path}/")
|
||||
];
|
||||
value = fixModuleSystem name;
|
||||
}) (listNixFilesRecursiveDiscardStringContext path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue