Skip to content

Commit

Permalink
podman: drop slirp4netns which has been replaced by passt (#313670)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Sep 9, 2024
2 parents 59c3aa2 + 56e8106 commit 03e62e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 6 additions & 2 deletions nixos/modules/virtualisation/podman/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ let

inherit (lib) mkOption types;

podmanPackage = (pkgs.podman.override {
podmanPackage = pkgs.podman.override {
extraPackages = cfg.extraPackages
# setuid shadow
++ [ "/run/wrappers" ]
++ lib.optional (config.boot.supportedFilesystems.zfs or false) config.boot.zfs.package;
});
extraRuntimes = [ pkgs.runc ]
++ lib.optionals (config.virtualisation.containers.containersConf.settings.network.default_rootless_network_cmd or "" == "slirp4netns") (with pkgs; [
slirp4netns
]);
};

# Provides a fake "docker" binary mapping to podman
dockerCompat = pkgs.runCommand "${podmanPackage.pname}-docker-compat-${podmanPackage.version}"
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/virtualization/podman/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
, runc
, conmon
, extraRuntimes ? lib.optionals stdenv.isLinux [ runc ] # e.g.: runc, gvisor, youki
, slirp4netns
, fuse-overlayfs
, util-linux
, iptables
Expand Down Expand Up @@ -59,7 +58,6 @@ let
aardvark-dns
catatonit # added here for the pause image and also set in `containersConf` for `init_path`
netavark
slirp4netns
passt
conmon
crun
Expand Down

0 comments on commit 03e62e5

Please sign in to comment.