podman: use systemdMinimal

This commit is contained in:
Pol Dellaiera
2025-12-01 09:20:37 +01:00
parent 18b81736bb
commit d060dee75b
+3 -3
View File
@@ -11,7 +11,7 @@
libapparmor,
libseccomp,
libselinux,
systemd,
systemdMinimal,
go-md2man,
nixosTests,
python3,
@@ -83,7 +83,7 @@ buildGoModule (finalAttrs: {
libseccomp
libselinux
lvm2
systemd
systemdMinimal
];
env = {
@@ -134,7 +134,7 @@ buildGoModule (finalAttrs: {
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
RPATH=$(patchelf --print-rpath $out/bin/.podman-wrapped)
patchelf --set-rpath "${lib.makeLibraryPath [ systemd ]}":$RPATH $out/bin/.podman-wrapped
patchelf --set-rpath "${lib.makeLibraryPath [ systemdMinimal ]}":$RPATH $out/bin/.podman-wrapped
substituteInPlace "$out/share/systemd/user/podman-user-wait-network-online.service" \
--replace-fail sleep '${coreutils}/bin/sleep' \
--replace-fail /bin/sh '${runtimeShell}'