diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-06-27 09:58:45 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-06-27 09:58:45 +1000 |
commit | 19052cfb377db61bc270fb5d5c8430679b0af817 (patch) | |
tree | 6fc9a7bb1202d5e5036dd2031d93ab72de5c0242 /pkgs/applications/virtualization/podman/default.nix | |
parent | 0a62da15c0b161eb3c2d7541d976f0aa2fc560aa (diff) |
podman: fix darwin build
Diffstat (limited to 'pkgs/applications/virtualization/podman/default.nix')
-rw-r--r-- | pkgs/applications/virtualization/podman/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/virtualization/podman/default.nix b/pkgs/applications/virtualization/podman/default.nix index 1593866086e4..6d2775620654 100644 --- a/pkgs/applications/virtualization/podman/default.nix +++ b/pkgs/applications/virtualization/podman/default.nix @@ -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; }; } |