diff options
author | figsoda <figsoda@pm.me> | 2023-05-24 11:56:21 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-24 11:56:21 -0400 |
commit | abd5dfa01396942cf65cea34829e448ed4263950 (patch) | |
tree | d8644ed279d0ec93024de954cd404129aae4f1b6 /pkgs/build-support | |
parent | dfc509bc1b89020a52a61f322c5ee7909e927536 (diff) |
buildGoModule: remove unused `with builtins;`
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/go/module.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/build-support/go/module.nix b/pkgs/build-support/go/module.nix index 2c5d1827cdeaf..f1f25a92da302 100644 --- a/pkgs/build-support/go/module.nix +++ b/pkgs/build-support/go/module.nix @@ -55,8 +55,6 @@ , ... }@args': -with builtins; - assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`"; assert (vendorSha256 == "_unset" && vendorHash == "_unset") -> throw "either `vendorHash` or `vendorSha256` is required"; assert (vendorSha256 != "_unset" && vendorHash != "_unset") -> throw "both `vendorHash` and `vendorSha256` set. only one can be set."; |