mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-12 21:34:38 +00:00
Suffix $PATH in wrapper instead of prefixing
As suffixing makes gomod2nix inherit any system Go compiler.
This commit is contained in:
parent
3de94f1326
commit
f09d652b95
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ buildGoApplication {
|
|||
--fish <($out/bin/gomod2nix completion fish) \
|
||||
--zsh <($out/bin/gomod2nix completion zsh)
|
||||
'' + ''
|
||||
wrapProgram $out/bin/gomod2nix --prefix PATH : $(dirname $(which go))
|
||||
wrapProgram $out/bin/gomod2nix --suffix PATH : $(dirname $(which go))
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue