podman: add systemd to rpath
(cherry picked from commit ada45ac3aee664265759611d09443d549250bd70)
This commit is contained in:
parent
d33aa3d0d3
commit
0919b5c419
|
@ -75,6 +75,11 @@ buildGoModule rec {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = lib.optionalString stdenv.isLinux ''
|
||||||
|
RPATH=$(patchelf --print-rpath $out/bin/podman)
|
||||||
|
patchelf --set-rpath "${lib.makeLibraryPath [ systemd ]}":$RPATH $out/bin/podman
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) podman; };
|
passthru.tests = { inherit (nixosTests) podman; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue