mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
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>
This commit is contained in:
parent
2ac1f685b6
commit
41d7136253
@ -46,9 +46,6 @@
|
|||||||
# Meta data for the final derivation.
|
# Meta data for the final derivation.
|
||||||
, meta ? { }
|
, meta ? { }
|
||||||
|
|
||||||
# Not needed with `buildGoModule`.
|
|
||||||
, goPackagePath ? ""
|
|
||||||
|
|
||||||
# Go linker flags.
|
# Go linker flags.
|
||||||
, ldflags ? [ ]
|
, ldflags ? [ ]
|
||||||
# Go build flags.
|
# Go build flags.
|
||||||
@ -61,8 +58,6 @@
|
|||||||
, ...
|
, ...
|
||||||
}@args':
|
}@args':
|
||||||
|
|
||||||
assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`";
|
|
||||||
|
|
||||||
let
|
let
|
||||||
args = removeAttrs args' [ "overrideModAttrs" "vendorSha256" ];
|
args = removeAttrs args' [ "overrideModAttrs" "vendorSha256" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user