Skip to content

Commit

Permalink
appstream-glib: more RPATH fixes #29326
Browse files Browse the repository at this point in the history
Fix in 6a17c5a wasn't enough.
  • Loading branch information
vcunat committed Sep 13, 2017
1 parent 349a092 commit efeef04
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/libraries/appstream-glib/default.nix
Expand Up @@ -28,7 +28,11 @@ in stdenv.mkDerivation rec {
propagatedBuildInputs = [ gtk3 ];
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];

postFixup = "patchelf --set-rpath ${rpath} $out/lib/libappstream-glib.so";
postFixup = ''
for elf in "$out"/bin/* "$out"/lib/*.so; do
patchelf --set-rpath '${rpath}':"$out/lib" "$elf"
done
'';

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

1 comment on commit efeef04

@shlevy
Copy link
Member

@shlevy shlevy commented on efeef04 Sep 13, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ thanks

Please sign in to comment.