actually works lol

This commit is contained in:
Gerg-L 2024-05-08 20:50:30 -04:00
parent 1ce3e3bffb
commit ab478a238e
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
2 changed files with 4 additions and 6 deletions

View file

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