containerd: remove broken manual

`make man` build dependencies aren't included in the vendor directory
This commit is contained in:
zowoq 2022-02-16 16:06:04 +10:00
parent a4485fbc8f
commit 27c29776a4

View file

@ -12,8 +12,6 @@ buildGoModule rec {
pname = "containerd"; pname = "containerd";
version = "1.6.0"; version = "1.6.0";
outputs = [ "out" "man" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containerd"; owner = "containerd";
repo = "containerd"; repo = "containerd";
@ -32,14 +30,13 @@ buildGoModule rec {
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
patchShebangs . patchShebangs .
make binaries man "VERSION=v${version}" "REVISION=${src.rev}" make binaries "VERSION=v${version}" "REVISION=${src.rev}"
runHook postBuild runHook postBuild
''; '';
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
install -Dm555 bin/* -t $out/bin install -Dm555 bin/* -t $out/bin
installManPage man/*.[1-9]
installShellCompletion --bash contrib/autocomplete/ctr installShellCompletion --bash contrib/autocomplete/ctr
installShellCompletion --zsh --name _ctr contrib/autocomplete/zsh_autocomplete installShellCompletion --zsh --name _ctr contrib/autocomplete/zsh_autocomplete
runHook postInstall runHook postInstall