podman: install manpages
This commit is contained in:
parent
6f10a0de83
commit
b02d871652
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig
|
||||
, buildGoPackage, gpgme, lvm2, btrfs-progs, libseccomp
|
||||
, go-md2man
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
@ -15,9 +16,11 @@ buildGoPackage rec {
|
||||
|
||||
goPackagePath = "github.com/containers/libpod";
|
||||
|
||||
outputs = [ "bin" "out" "man" ];
|
||||
|
||||
# Optimizations break compilation of libseccomp c bindings
|
||||
hardeningDisable = [ "fortify" ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig go-md2man ];
|
||||
|
||||
buildInputs = [
|
||||
btrfs-progs libseccomp gpgme lvm2
|
||||
@ -26,11 +29,12 @@ buildGoPackage rec {
|
||||
buildPhase = ''
|
||||
pushd $NIX_BUILD_TOP/go/src/${goPackagePath}
|
||||
patchShebangs .
|
||||
make binaries
|
||||
make binaries docs
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm555 bin/podman $bin/bin/podman
|
||||
MANDIR=$man/share/man make install.man
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user