diff options
author | Shea Levy <shea@shealevy.com> | 2017-09-09 17:20:03 -0700 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2017-09-09 17:20:03 -0700 |
commit | 6a17c5a46c933deb6c856be8602ea9f5d6560e98 (patch) | |
tree | 8e5be094042fbee2129630bc734e1b940c71b6b2 /pkgs | |
parent | 2317a07fbb6254e11851f0137d65bc48fab4e6c3 (diff) | |
download | nixlib-6a17c5a46c933deb6c856be8602ea9f5d6560e98.tar nixlib-6a17c5a46c933deb6c856be8602ea9f5d6560e98.tar.gz nixlib-6a17c5a46c933deb6c856be8602ea9f5d6560e98.tar.bz2 nixlib-6a17c5a46c933deb6c856be8602ea9f5d6560e98.tar.lz nixlib-6a17c5a46c933deb6c856be8602ea9f5d6560e98.tar.xz nixlib-6a17c5a46c933deb6c856be8602ea9f5d6560e98.tar.zst nixlib-6a17c5a46c933deb6c856be8602ea9f5d6560e98.zip |
libappstream-glib: Properly set rpath
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/appstream-glib/default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/development/libraries/appstream-glib/default.nix b/pkgs/development/libraries/appstream-glib/default.nix index 8addecfa1b40..0b2f0e03cc19 100644 --- a/pkgs/development/libraries/appstream-glib/default.nix +++ b/pkgs/development/libraries/appstream-glib/default.nix @@ -1,10 +1,17 @@ { stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib , gtk_doc, autoconf, automake, libtool, libarchive , gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl -, libuuid, json_glib, autoconf-archive, meson, gperf, ninja +, libuuid, json_glib, autoconf-archive, meson, gperf, ninja, gdk_pixbuf }: - -stdenv.mkDerivation rec { +let rpath = stdenv.lib.makeLibraryPath + [ libuuid.out + glib + libsoup + gdk_pixbuf + libarchive.lib + gcab + ]; +in stdenv.mkDerivation rec { name = "appstream-glib-0.7.2"; src = fetchFromGitHub { @@ -21,6 +28,8 @@ 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"; + meta = with stdenv.lib; { description = "Objects and helper methods to read and write AppStream metadata"; homepage = https://github.com/hughsie/appstream-glib; |