fwupd: Remove manual rpath settings now that meson is fixed.
Thanks @yegortimoshenko!
This commit is contained in:
parent
f04f30fd2d
commit
9e37df185c
@ -1,30 +1,10 @@
|
|||||||
{ stdenv, fetchurl, gtk_doc, pkgconfig, gobjectIntrospection, intltool
|
{ stdenv, fetchurl, gtk_doc, pkgconfig, gobjectIntrospection, intltool
|
||||||
, libgudev, polkit, appstream-glib, gusb, sqlite, libarchive
|
, libgudev, polkit, appstream-glib, gusb, sqlite, libarchive
|
||||||
, libsoup, docbook2x, gpgme, libxslt, libelf, libsmbios, efivar
|
, libsoup, docbook2x, gpgme, libxslt, libelf, libsmbios, efivar
|
||||||
, fwupdate, libgpgerror, libyaml, valgrind, meson, libuuid, pygobject3
|
, fwupdate, libyaml, valgrind, meson, libuuid, pygobject3
|
||||||
, pillow, ninja, gcab, makeWrapper, glib, gdk_pixbuf
|
, pillow, ninja, gcab
|
||||||
}:
|
}:
|
||||||
let version = "0.9.6";
|
let version = "0.9.6";
|
||||||
rpath = stdenv.lib.makeLibraryPath
|
|
||||||
[ libuuid.out
|
|
||||||
appstream-glib
|
|
||||||
glib
|
|
||||||
libsoup
|
|
||||||
gdk_pixbuf
|
|
||||||
libarchive.lib
|
|
||||||
gcab
|
|
||||||
sqlite.out
|
|
||||||
gusb
|
|
||||||
polkit.out
|
|
||||||
gpgme
|
|
||||||
libgpgerror
|
|
||||||
libelf
|
|
||||||
efivar
|
|
||||||
libsmbios
|
|
||||||
fwupdate
|
|
||||||
libgudev
|
|
||||||
"$out"
|
|
||||||
];
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation
|
stdenv.mkDerivation
|
||||||
{ name = "fwupd-${version}";
|
{ name = "fwupd-${version}";
|
||||||
@ -36,18 +16,13 @@ in
|
|||||||
[ gtk_doc pkgconfig gobjectIntrospection intltool libgudev
|
[ gtk_doc pkgconfig gobjectIntrospection intltool libgudev
|
||||||
polkit appstream-glib gusb sqlite libarchive libsoup
|
polkit appstream-glib gusb sqlite libarchive libsoup
|
||||||
docbook2x libxslt libelf libsmbios fwupdate libyaml valgrind
|
docbook2x libxslt libelf libsmbios fwupdate libyaml valgrind
|
||||||
meson gpgme libuuid pygobject3 pillow ninja gcab makeWrapper
|
meson gpgme libuuid pygobject3 pillow ninja gcab
|
||||||
];
|
];
|
||||||
patches = [ ./fix-missing-deps.patch ];
|
patches = [ ./fix-missing-deps.patch ];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${efivar}/include/efivar"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${efivar}/include/efivar"
|
||||||
'';
|
'';
|
||||||
mesonFlags = [ "-Denable-colorhug=false" "-Denable-man=false" "-Denable-tests=false" "--localstatedir=/var" "-Denable-doc=false" "-Dwith-bootdir=/boot" ];
|
mesonFlags = [ "-Denable-colorhug=false" "-Denable-man=false" "-Denable-tests=false" "--localstatedir=/var" "-Denable-doc=false" "-Dwith-bootdir=/boot" ];
|
||||||
postFixup = ''
|
|
||||||
for prog in $out/bin/* $out/libexec/fwupd/*; do
|
|
||||||
wrapProgram "$prog" --prefix LD_LIBRARY_PATH : ${rpath}
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
meta =
|
meta =
|
||||||
{ license = [ stdenv.lib.licenses.gpl2 ];
|
{ license = [ stdenv.lib.licenses.gpl2 ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user