mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
kubernetes: build-tools was renamed to build
This commit is contained in:
parent
e81f400ac4
commit
6345b76b91
|
@ -44,14 +44,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postBuild = ''
|
||||
./hack/generate-docs.sh
|
||||
(cd build-tools/pause && gcc pause.c -o pause)
|
||||
(cd build/pause && gcc pause.c -o pause)
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin" "$out/share/bash-completion/completions" "$man/share/man" "$pause/bin"
|
||||
|
||||
cp _output/local/go/bin/* "$out/bin/"
|
||||
cp build-tools/pause/pause "$pause/bin/pause"
|
||||
cp build/pause/pause "$pause/bin/pause"
|
||||
cp -R docs/man/man1 "$man/share/man"
|
||||
|
||||
$out/bin/kubectl completion bash > $out/share/bash-completion/completions/kubectl
|
||||
|
|
Loading…
Reference in a new issue