mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
appstream-glib: remove unneeded rpath wrapping
This commit is contained in:
parent
d6b8f18497
commit
0979856cdf
@ -3,15 +3,7 @@
|
||||
, gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl
|
||||
, libuuid, json_glib, autoconf-archive, meson, gperf, ninja, gdk_pixbuf
|
||||
}:
|
||||
let rpath = stdenv.lib.makeLibraryPath
|
||||
[ libuuid.out
|
||||
glib
|
||||
libsoup
|
||||
gdk_pixbuf
|
||||
libarchive.lib
|
||||
gcab
|
||||
];
|
||||
in stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "appstream-glib-0.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -28,12 +20,6 @@ in stdenv.mkDerivation rec {
|
||||
propagatedBuildInputs = [ gtk3 ];
|
||||
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
|
||||
|
||||
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";
|
||||
homepage = https://github.com/hughsie/appstream-glib;
|
||||
|
Loading…
Reference in New Issue
Block a user