From 366c0e5a1727dc19f2e676c24d49fbc07547ef40 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Tue, 14 Jun 2022 18:17:28 +0800 Subject: [PATCH] mkGoEnv: Pass attrs on to mkDerivation --- builder/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/default.nix b/builder/default.nix index ad9fcaf..170d32b 100644 --- a/builder/default.nix +++ b/builder/default.nix @@ -136,7 +136,7 @@ let }; in - stdenv.mkDerivation { + stdenv.mkDerivation (builtins.removeAttrs attrs [ "pwd" ] // { name = "${builtins.baseNameOf goMod.module}-env"; dontUnpack = true; @@ -170,7 +170,7 @@ let ${internal.install} ''; - }; + }); buildGoApplication = { modules ? pwd + "/gomod2nix.toml"