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 <winter@winter.cafe>
This commit is contained in:
committed by
Winter
co-authored by
Winter
parent
481ded33e5
commit
df74ebcabb
@@ -5,7 +5,7 @@ let
|
||||
|
||||
inherit (lib) mkOption types;
|
||||
|
||||
podmanPackage = (pkgs.podman.override {
|
||||
podmanPackage = (cfg.package.override {
|
||||
extraPackages = cfg.extraPackages
|
||||
# setuid shadow
|
||||
++ [ "/run/wrappers" ]
|
||||
|
||||
Reference in New Issue
Block a user