Skip to content

Commit 2b06eb1

Browse files
committed
podman: make gvproxy a darwin-only strict requirement
gvproxy is needed to run `podman machine` that is not necessary under Linux. If one has the urge to also do so under Linux, it still can be added to `extraRuntimes`.
1 parent 2fa9aca commit 2b06eb1

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

pkgs/by-name/po/podman/package.nix

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -178,18 +178,19 @@ buildGoModule (finalAttrs: {
178178
name = "podman-helper-binary-wrapper";
179179

180180
# this only works for some binaries, others may need to be added to `binPath` or in the modules
181-
paths = [
182-
gvproxy
183-
]
184-
++ lib.optionals stdenv.hostPlatform.isLinux [
185-
aardvark-dns
186-
catatonit # added here for the pause image and also set in `containersConf` for `init_path`
187-
netavark
188-
passt
189-
conmon
190-
crun
191-
]
192-
++ extraRuntimes;
181+
paths =
182+
lib.optionals stdenv.hostPlatform.isDarwin [
183+
gvproxy
184+
]
185+
++ lib.optionals stdenv.hostPlatform.isLinux [
186+
aardvark-dns
187+
catatonit # added here for the pause image and also set in `containersConf` for `init_path`
188+
netavark
189+
passt
190+
conmon
191+
crun
192+
]
193+
++ extraRuntimes;
193194
};
194195
};
195196

0 commit comments

Comments
 (0)