Add noFlakeSrc
This commit is contained in:
parent
4cfd35338f
commit
c98ea7a17b
@ -23,6 +23,13 @@
|
||||
in
|
||||
(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:
|
||||
pkgs.lib.cleanSourceWith {
|
||||
inherit src;
|
||||
|
Loading…
Reference in New Issue
Block a user