nix: filter nix files from src
This prevents constant rebuilds when debugging integration tests. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
af4d92b785
commit
ed8ee5eb4b
@ -16,7 +16,11 @@ buildGoModule rec {
|
|||||||
pname = "fortify";
|
pname = "fortify";
|
||||||
version = "0.2.5";
|
version = "0.2.5";
|
||||||
|
|
||||||
src = ./.;
|
src = builtins.path {
|
||||||
|
name = "fortify-src";
|
||||||
|
path = lib.cleanSource ./.;
|
||||||
|
filter = path: type: !(type != "directory" && lib.hasSuffix ".nix" path);
|
||||||
|
};
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
||||||
ldflags =
|
ldflags =
|
||||||
|
Loading…
Reference in New Issue
Block a user