1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

cloudfoundry-cli: output to "bin" output, don't "remove-references-to"

This commit is contained in:
Robert Scott 2018-12-20 22:49:13 +00:00 committed by Robert Scott
parent 61fad2cdce
commit 8e5c4a4c1d

View file

@ -15,8 +15,6 @@ buildGoPackage rec {
sha256 = "1v4f1fyydpzkfir46g4ppbf3zmk3ym6kxswpkdjls8h3dbb2fbnv";
};
outputs = [ "out" ];
makeTarget = let hps = stdenv.hostPlatform.system; in
if hps == "x86_64-darwin" then
"out/cf-cli_osx"
@ -34,9 +32,8 @@ buildGoPackage rec {
'';
installPhase = ''
install -Dm555 out/cf "$out/bin/cf"
remove-references-to -t ${go} "$out/bin/cf"
install -Dm444 -t "$out/share/bash-completion/completions/" "$src/ci/installers/completion/cf"
install -Dm555 out/cf "$bin/bin/cf"
install -Dm444 -t "$bin/share/bash-completion/completions/" "$src/ci/installers/completion/cf"
'';
meta = with stdenv.lib; {