cloudfoundry-cli: output to "bin" output, don't "remove-references-to"
This commit is contained in:
parent
61fad2cdce
commit
8e5c4a4c1d
@ -15,8 +15,6 @@ buildGoPackage rec {
|
|||||||
sha256 = "1v4f1fyydpzkfir46g4ppbf3zmk3ym6kxswpkdjls8h3dbb2fbnv";
|
sha256 = "1v4f1fyydpzkfir46g4ppbf3zmk3ym6kxswpkdjls8h3dbb2fbnv";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" ];
|
|
||||||
|
|
||||||
makeTarget = let hps = stdenv.hostPlatform.system; in
|
makeTarget = let hps = stdenv.hostPlatform.system; in
|
||||||
if hps == "x86_64-darwin" then
|
if hps == "x86_64-darwin" then
|
||||||
"out/cf-cli_osx"
|
"out/cf-cli_osx"
|
||||||
@ -34,9 +32,8 @@ buildGoPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm555 out/cf "$out/bin/cf"
|
install -Dm555 out/cf "$bin/bin/cf"
|
||||||
remove-references-to -t ${go} "$out/bin/cf"
|
install -Dm444 -t "$bin/share/bash-completion/completions/" "$src/ci/installers/completion/cf"
|
||||||
install -Dm444 -t "$out/share/bash-completion/completions/" "$src/ci/installers/completion/cf"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user