diff --git a/pkgs/build-support/go/module.nix b/pkgs/build-support/go/module.nix index 3a3ae71de508..993e18bd9fcc 100644 --- a/pkgs/build-support/go/module.nix +++ b/pkgs/build-support/go/module.nix @@ -46,9 +46,6 @@ # Meta data for the final derivation. , meta ? { } - # Not needed with `buildGoModule`. -, goPackagePath ? "" - # Go linker flags. , ldflags ? [ ] # Go build flags. @@ -61,8 +58,6 @@ , ... }@args': -assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`"; - let args = removeAttrs args' [ "overrideModAttrs" "vendorSha256" ];