podman: add darwin wrapper and wrap gvproxy

zowoq 676678f2 a1dfddfd

+6 -4
+5
pkgs/applications/virtualization/podman/wrapper.nix
··· 3 , makeWrapper 4 , symlinkJoin 5 , lib 6 , extraPackages ? [] 7 , podman # Docker compat 8 , runc # Default container runtime ··· 15 , iptables 16 , iproute2 17 , catatonit 18 }: 19 20 # do not add qemu to this wrapper, store paths get written to the podman vm config and break when GCed ··· 25 podman = podman-unwrapped; 26 27 binPath = lib.makeBinPath ([ 28 runc 29 crun 30 conmon ··· 40 41 # this only works for some binaries, others may need to be be added to `binPath` or in the modules 42 paths = [ 43 catatonit # added here for the pause image and also set in `containersConf` for `init_path` 44 podman.rootlessport 45 ];
··· 3 , makeWrapper 4 , symlinkJoin 5 , lib 6 + , stdenv 7 , extraPackages ? [] 8 , podman # Docker compat 9 , runc # Default container runtime ··· 16 , iptables 17 , iproute2 18 , catatonit 19 + , gvproxy 20 }: 21 22 # do not add qemu to this wrapper, store paths get written to the podman vm config and break when GCed ··· 27 podman = podman-unwrapped; 28 29 binPath = lib.makeBinPath ([ 30 + ] ++ lib.optionals stdenv.isLinux [ 31 runc 32 crun 33 conmon ··· 43 44 # this only works for some binaries, others may need to be be added to `binPath` or in the modules 45 paths = [ 46 + gvproxy 47 + ] ++ lib.optionals stdenv.isLinux [ 48 catatonit # added here for the pause image and also set in `containersConf` for `init_path` 49 podman.rootlessport 50 ];
+1 -4
pkgs/top-level/all-packages.nix
··· 8979 8980 podiff = callPackage ../tools/text/podiff { }; 8981 8982 - podman = if stdenv.isDarwin then 8983 - callPackage ../applications/virtualization/podman { } 8984 - else 8985 - callPackage ../applications/virtualization/podman/wrapper.nix { }; 8986 podman-unwrapped = callPackage ../applications/virtualization/podman { }; 8987 8988 podman-compose = python3Packages.callPackage ../applications/virtualization/podman-compose {};
··· 8979 8980 podiff = callPackage ../tools/text/podiff { }; 8981 8982 + podman = callPackage ../applications/virtualization/podman/wrapper.nix { }; 8983 podman-unwrapped = callPackage ../applications/virtualization/podman { }; 8984 8985 podman-compose = python3Packages.callPackage ../applications/virtualization/podman-compose {};