Skip to content

Commit efeef04

Browse files
committedSep 13, 2017
appstream-glib: more RPATH fixes #29326
Fix in 6a17c5a wasn't enough.
1 parent 349a092 commit efeef04

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎pkgs/development/libraries/appstream-glib/default.nix

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ in stdenv.mkDerivation rec {
2828
propagatedBuildInputs = [ gtk3 ];
2929
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
3030

31-
postFixup = "patchelf --set-rpath ${rpath} $out/lib/libappstream-glib.so";
31+
postFixup = ''
32+
for elf in "$out"/bin/* "$out"/lib/*.so; do
33+
patchelf --set-rpath '${rpath}':"$out/lib" "$elf"
34+
done
35+
'';
3236

3337
meta = with stdenv.lib; {
3438
description = "Objects and helper methods to read and write AppStream metadata";

1 commit comments

Comments
 (1)

shlevy commented on Sep 13, 2017

@shlevy
Member

🤦‍♂️ thanks

Please sign in to comment.