p1: vendorHash = null when vendor/ is committed

buildGoModule refuses a hashed fetch if vendor/ exists. Keep vendor/;
the check path already uses GOPROXY=off GOFLAGS=-mod=vendor.
This commit is contained in:
2026-09-22 22:27:24 -07:00
parent fac1462e7b
commit dca635fb62
+2 -1
View File
@@ -32,7 +32,8 @@
pname = "sift";
inherit version;
src = ./.;
vendorHash = "sha256-byOhTmZTW76qEyv8PyuCtbj2C+nk894nPyuwjhFJqtk=";
# vendor/ is committed; a non-null hash makes buildGoModule refuse the tree.
vendorHash = null;
env.CGO_ENABLED = "0";
ldflags = ldflags;
subPackages = [ "cmd/sift" ];