Commit df74ebca authored by Chris Maniewski's avatar Chris Maniewski Committed by Winter
Browse files

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: default avatarWinter <winter@winter.cafe>
parent 481ded33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ let

  inherit (lib) mkOption types;

  podmanPackage = (pkgs.podman.override {
  podmanPackage = (cfg.package.override {
    extraPackages = cfg.extraPackages
      # setuid shadow
      ++ [ "/run/wrappers" ]