From abd5dfa01396942cf65cea34829e448ed4263950 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 24 May 2023 11:56:21 -0400 Subject: buildGoModule: remove unused `with builtins;` --- pkgs/build-support/go/module.nix | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkgs/build-support') 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."; -- cgit 1.4.1