podman: fix darwin build
This commit is contained in:
parent
0a62da15c0
commit
19052cfb37
@ -44,11 +44,14 @@ buildGoModule rec {
|
||||
buildPhase = ''
|
||||
patchShebangs .
|
||||
${if stdenv.isDarwin
|
||||
then "make CGO_ENABLED=0 BUILDTAGS='remoteclient containers_image_openpgp exclude_graphdriver_devicemapper' varlink_generate all"
|
||||
else "make podman docs"}
|
||||
then "make podman-remote"
|
||||
else "make podman"}
|
||||
make docs
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
installPhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
mv bin/{podman-remote,podman}
|
||||
'' + ''
|
||||
install -Dm555 bin/podman $out/bin/podman
|
||||
installShellCompletion --bash completions/bash/podman
|
||||
installShellCompletion --zsh completions/zsh/_podman
|
||||
@ -63,6 +66,5 @@ buildGoModule rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ marsam ] ++ teams.podman.members;
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user