mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-22 05:04:47 +00:00
Remove builder from output
This commit is contained in:
parent
64b60b5a15
commit
6ea9066253
1 changed files with 9 additions and 0 deletions
|
@ -14,4 +14,13 @@ in pkgs.buildGoApplication {
|
|||
version = "0.1";
|
||||
src = lib.cleanSource ./.;
|
||||
modules = ./gomod2nix.toml;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgs.makeWrapper
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/gomod2nix --prefix PATH : ${lib.makeBinPath [ pkgs.nix-prefetch-git ]}
|
||||
rm -f $out/bin/builder
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue