podman: add darwin wrapper and wrap gvproxy

main
zowoq 2 years ago
parent a1dfddfdef
commit 676678f23f
  1. 5
      pkgs/applications/virtualization/podman/wrapper.nix
  2. 5
      pkgs/top-level/all-packages.nix

@ -3,6 +3,7 @@
, makeWrapper
, symlinkJoin
, lib
, stdenv
, extraPackages ? []
, podman # Docker compat
, runc # Default container runtime
@ -15,6 +16,7 @@
, iptables
, iproute2
, catatonit
, gvproxy
}:
# do not add qemu to this wrapper, store paths get written to the podman vm config and break when GCed
@ -25,6 +27,7 @@ let
podman = podman-unwrapped;
binPath = lib.makeBinPath ([
] ++ lib.optionals stdenv.isLinux [
runc
crun
conmon
@ -40,6 +43,8 @@ let
# this only works for some binaries, others may need to be be added to `binPath` or in the modules
paths = [
gvproxy
] ++ lib.optionals stdenv.isLinux [
catatonit # added here for the pause image and also set in `containersConf` for `init_path`
podman.rootlessport
];

@ -8979,10 +8979,7 @@ with pkgs;
podiff = callPackage ../tools/text/podiff { };
podman = if stdenv.isDarwin then
callPackage ../applications/virtualization/podman { }
else
callPackage ../applications/virtualization/podman/wrapper.nix { };
podman = callPackage ../applications/virtualization/podman/wrapper.nix { };
podman-unwrapped = callPackage ../applications/virtualization/podman { };
podman-compose = python3Packages.callPackage ../applications/virtualization/podman-compose {};

Loading…
Cancel
Save