forked from mirrors/gomod2nix
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
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue