mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 12:09:08 +00:00
mkGoEnv: Pass attrs on to mkDerivation
This commit is contained in:
parent
aa90002013
commit
366c0e5a17
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation (builtins.removeAttrs attrs [ "pwd" ] // {
|
||||||
name = "${builtins.baseNameOf goMod.module}-env";
|
name = "${builtins.baseNameOf goMod.module}-env";
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -170,7 +170,7 @@ let
|
||||||
|
|
||||||
${internal.install}
|
${internal.install}
|
||||||
'';
|
'';
|
||||||
};
|
});
|
||||||
|
|
||||||
buildGoApplication =
|
buildGoApplication =
|
||||||
{ modules ? pwd + "/gomod2nix.toml"
|
{ modules ? pwd + "/gomod2nix.toml"
|
||||||
|
|
Loading…
Reference in a new issue