flake.nix: filter more files from src

This commit is contained in:
2026-02-09 14:40:53 +09:00
parent ac0cb14bbe
commit 5252936bdc
+5 -1
View File
@@ -109,10 +109,14 @@
in !(lib.any (b: b) [ in !(lib.any (b: b) [
(!(lib.cleanSourceFilter path type)) (!(lib.cleanSourceFilter path type))
(baseName == ".github" && type == "directory") (baseName == ".github" && type == "directory")
(baseName == ".gitea" && type == "directory")
(baseName == "nix" && type == "directory") (baseName == "nix" && type == "directory")
(baseName == ".envrc" && type == "regular") (baseName == ".envrc" && type == "regular")
(baseName == "flake.lock" && type == "regular") (baseName == "flake.lock" && type == "regular")
(baseName == "flake.nix" && type == "regular") (baseName == "flake.nix" && type == "regular")
(baseName == ".sqlfluff" && type == "regular")
])) ./.; ])) ./.;
in forAllSystems (system: pkgs: { in forAllSystems (system: pkgs: {
@@ -123,7 +127,7 @@
''; '';
jmdict = pkgs.callPackage ./nix/jmdict.nix { jmdict = pkgs.callPackage ./nix/jmdict.nix {
inherit jmdict-src jmdict-with-examples-src edrdgMetadata; inherit jmdict-src jmdict-with-examples-src edrdgMetadata;
}; };
radkfile = pkgs.callPackage ./nix/radkfile.nix { radkfile = pkgs.callPackage ./nix/radkfile.nix {