From 41d71362538e39fcea05d3b6a431a597263dba76 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Fri, 18 Oct 2024 09:57:05 +0200 Subject: [PATCH] buildGoModule: remove goPackagePath warning As buildGoPackage was removed, it is unlikely for attributes of buildGoModule to get mixed up with those of buildGoPackage. Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- pkgs/build-support/go/module.nix | 5 ----- 1 file changed, 5 deletions(-) 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" ];