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 ? { }
|
||||
|
||||
# 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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user