tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libappstream-glib: Properly set rpath
Shea Levy
8 years ago
6a17c5a4
2317a07f
+12
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
appstream-glib
default.nix
+12
-3
pkgs/development/libraries/appstream-glib/default.nix
···
1
1
{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib
2
2
, gtk_doc, autoconf, automake, libtool, libarchive
3
3
, gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl
4
4
-
, libuuid, json_glib, autoconf-archive, meson, gperf, ninja
4
4
+
, libuuid, json_glib, autoconf-archive, meson, gperf, ninja, gdk_pixbuf
5
5
}:
6
6
-
7
7
-
stdenv.mkDerivation rec {
6
6
+
let rpath = stdenv.lib.makeLibraryPath
7
7
+
[ libuuid.out
8
8
+
glib
9
9
+
libsoup
10
10
+
gdk_pixbuf
11
11
+
libarchive.lib
12
12
+
gcab
13
13
+
];
14
14
+
in stdenv.mkDerivation rec {
8
15
name = "appstream-glib-0.7.2";
9
16
10
17
src = fetchFromGitHub {
···
20
27
libarchive gobjectIntrospection gperf ];
21
28
propagatedBuildInputs = [ gtk3 ];
22
29
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
30
30
+
31
31
+
postFixup = "patchelf --set-rpath ${rpath} $out/lib/libappstream-glib.so";
23
32
24
33
meta = with stdenv.lib; {
25
34
description = "Objects and helper methods to read and write AppStream metadata";