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:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user