mkGoEnv: Pass attrs on to mkDerivation

This commit is contained in:
adisbladis 2022-06-14 18:17:28 +08:00
parent aa90002013
commit 366c0e5a17

View file

@ -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"