forked from mirrors/gomod2nix
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