buildGoModule: remove modSha256

This commit is contained in:
zowoq
2020-08-20 08:02:36 +10:00
parent 7dec299b89
commit 92a2c31d79
2 changed files with 0 additions and 234 deletions
@@ -24,8 +24,6 @@
# This is useful if any dependency contain C files.
, runVend ? false
, modSha256 ? null
# We want parallel builds by default
, enableParallelBuilding ? true
@@ -257,8 +255,5 @@ let
});
in if disabled then
throw "${package.name} not supported for go ${go.meta.branch}"
else if modSha256 != null then
lib.warn "modSha256 is deprecated and will be removed in the next release (20.09), use vendorSha256 instead" (
import ./old.nix { inherit go cacert git lib removeReferencesTo stdenv; } args')
else
package