3
0
Fork 0
forked from mirrors/nixpkgs

appstream-glib: more RPATH fixes #29326

Fix in 6a17c5a46c wasn't enough.
This commit is contained in:
Vladimír Čunát 2017-09-13 22:41:10 +02:00
parent 349a09228e
commit efeef044be
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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";