From dca635fb62a83cc37e935b0bac83e532117cab11 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Tue, 22 Sep 2026 22:27:24 -0700 Subject: [PATCH] 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. --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index db88978..0e7d4e7 100644 --- a/flake.nix +++ b/flake.nix @@ -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" ];