Skip to content

Commit

Permalink
modSha256 -> vendorSha256
Browse files Browse the repository at this point in the history
  • Loading branch information
srhb committed May 3, 2021
1 parent ef42c7f commit 2de9ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nix-packaging/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ buildGoModule rec {
main.version=${version}
'';

modSha256 = "0kwwvd979zhdml3shw96cwyh84qn7k7p4yy0qsjiwi9ncnjb1ca6";
vendorSha256 = "05rfvbqicr1ww4fjf6r1l8fb4f0rsv10vxndqny8wvng2j1rmmm6";

postPatch = ''
go-bindata -pkg assets -o assets/assets.go data/
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let
popd >/dev/null
# replace the sha256 in the default.nix
sed -e "s#modSha256.*#modSha256 = \"$sha256\";#" -i ${packagingOut}/default.nix
sed -e "s#vendorSha256.*#vendorSha256 = \"$sha256\";#" -i ${packagingOut}/default.nix
unset GOPATH GOCACHE
fi
Expand Down

0 comments on commit 2de9ca1

Please sign in to comment.