diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-02-25 01:46:25 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-03-22 07:30:59 +0100 |
commit | 1c6f15083bee48bccfab16f8ad5860936e8810cc (patch) | |
tree | 4b3a9614f4a9e5b227d759538db15312c6ea8fa1 /pkgs/os-specific/linux/systemd | |
parent | 45d0d907929571df0c1758d9d710d400f36adcb7 (diff) | |
download | nixlib-1c6f15083bee48bccfab16f8ad5860936e8810cc.tar nixlib-1c6f15083bee48bccfab16f8ad5860936e8810cc.tar.gz nixlib-1c6f15083bee48bccfab16f8ad5860936e8810cc.tar.bz2 nixlib-1c6f15083bee48bccfab16f8ad5860936e8810cc.tar.lz nixlib-1c6f15083bee48bccfab16f8ad5860936e8810cc.tar.xz nixlib-1c6f15083bee48bccfab16f8ad5860936e8810cc.tar.zst nixlib-1c6f15083bee48bccfab16f8ad5860936e8810cc.zip |
systemd: remove unneeded rpath fixup
Diffstat (limited to 'pkgs/os-specific/linux/systemd')
-rw-r--r-- | pkgs/os-specific/linux/systemd/default.nix | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 1e4df0d3f0ef..a792283e70e1 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -201,18 +201,6 @@ in stdenv.mkDerivation rec { enableParallelBuilding = true; - # The rpath to the shared systemd library is not added by meson. The - # functionality was removed by a nixpkgs patch because it would overwrite - # the existing rpath. - postFixup = '' - sharedLib=libsystemd-shared-${version}.so - for prog in `find $out -type f -executable`; do - (patchelf --print-needed $prog | grep $sharedLib > /dev/null) && ( - patchelf --set-rpath `patchelf --print-rpath $prog`:"$out/lib/systemd" $prog - ) || true - done - ''; - # The interface version prevents NixOS from switching to an # incompatible systemd at runtime. (Switching across reboots is # fine, of course.) It should be increased whenever systemd changes |