Add noFlakeSrc
This commit is contained in:
parent
4cfd35338f
commit
c98ea7a17b
@ -23,6 +23,13 @@
|
|||||||
in
|
in
|
||||||
(type == "regular") && (builtins.elem bname names);
|
(type == "regular") && (builtins.elem bname names);
|
||||||
|
|
||||||
|
noFlakeSrc = src:
|
||||||
|
pkgs.lib.cleanSourceWith {
|
||||||
|
inherit src;
|
||||||
|
filter = path: type:
|
||||||
|
!(baseNameOf path == "flake.nix" || baseNameOf path == "flake.lock" || baseNameOf path == "mime.types");
|
||||||
|
};
|
||||||
|
|
||||||
mkNpSrc = src:
|
mkNpSrc = src:
|
||||||
pkgs.lib.cleanSourceWith {
|
pkgs.lib.cleanSourceWith {
|
||||||
inherit src;
|
inherit src;
|
||||||
|
Loading…
Reference in New Issue
Block a user