Skip to content

Commit

Permalink
buildGoModule: remove modSha256
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Aug 19, 2020
1 parent 7dec299 commit 92a2c31
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 234 deletions.
5 changes: 0 additions & 5 deletions pkgs/development/go-modules/generic/default.nix
Expand Up @@ -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

Expand Down Expand Up @@ -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
229 changes: 0 additions & 229 deletions pkgs/development/go-modules/generic/old.nix

This file was deleted.

0 comments on commit 92a2c31

Please sign in to comment.