mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
appstream-glib: more RPATH fixes #29326
Fix in 6a17c5a46c
wasn't enough.
This commit is contained in:
parent
349a09228e
commit
efeef044be
|
@ -28,7 +28,11 @@ in stdenv.mkDerivation rec {
|
||||||
propagatedBuildInputs = [ gtk3 ];
|
propagatedBuildInputs = [ gtk3 ];
|
||||||
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Objects and helper methods to read and write AppStream metadata";
|
description = "Objects and helper methods to read and write AppStream metadata";
|
||||||
|
|
Loading…
Reference in a new issue