nix: exclude files ending in ".py"
This reduces rebuilds when debugging nixos tests. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
e6cd2bb2a8
commit
751aa350ee
@ -27,7 +27,7 @@ buildGoModule rec {
|
||||
path = lib.cleanSource ./.;
|
||||
filter =
|
||||
path: type:
|
||||
!(type == "regular" && lib.hasSuffix ".nix" path)
|
||||
!(type == "regular" && (lib.hasSuffix ".nix" path || lib.hasSuffix ".py" path))
|
||||
&& !(type == "directory" && lib.hasSuffix "/cmd/fsu" path);
|
||||
};
|
||||
vendorHash = null;
|
||||
|
Loading…
Reference in New Issue
Block a user