Remove builder from output

This commit is contained in:
adisbladis 2020-07-24 11:37:14 +02:00
parent 64b60b5a15
commit 6ea9066253
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -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
'';
}