From df74ebcabb0252fa5e0a8a5d803d1e9d042ad3fb Mon Sep 17 00:00:00 2001 From: Chris Maniewski Date: Mon, 13 Nov 2023 23:12:31 +0100 Subject: [PATCH] nixos/podman: use given package for dockerCompat Defining a package that isn't the default results in podman-compat linking to a different version of podman (always the default one). This PR changes the behavior so that the given alternative package is used for the dockerCompat option as well. This could technically break things for people who rely on this quirk, albeit the previous behavior is probably not what one would expect. Co-authored-by: Winter --- nixos/modules/virtualisation/podman/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/podman/default.nix b/nixos/modules/virtualisation/podman/default.nix index d0f4ac7f66da..084981e04bbb 100644 --- a/nixos/modules/virtualisation/podman/default.nix +++ b/nixos/modules/virtualisation/podman/default.nix @@ -5,7 +5,7 @@ let inherit (lib) mkOption types; - podmanPackage = (pkgs.podman.override { + podmanPackage = (cfg.package.override { extraPackages = cfg.extraPackages # setuid shadow ++ [ "/run/wrappers" ]