mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
kiwix: Fix broken build
This commit is contained in:
parent
4d1d37014a
commit
2a84cc856b
@ -1,9 +1,7 @@
|
||||
{ stdenv, fetchurl, makeWrapper, pkgconfig, zip, python
|
||||
, zlib, xapian, which , icu, libmicrohttpd , lzma, zimlib
|
||||
, ctpp2, aria2, wget , bc, libuuid , glibc, libX11
|
||||
, libXext, libXt, libXrender , glib, dbus, dbus_glib, gtk
|
||||
, gdk_pixbuf, pango, cairo , freetype, fontconfig, alsaLib
|
||||
, atk
|
||||
{ stdenv, callPackage, overrideCC, fetchurl, makeWrapper, pkgconfig
|
||||
, zip, python, zlib, which, icu, libmicrohttpd, lzma, ctpp2, aria2, wget, bc
|
||||
, libuuid, glibc, libX11, libXext, libXt, libXrender, glib, dbus, dbus_glib
|
||||
, gtk, gdk_pixbuf, pango, cairo , freetype, fontconfig, alsaLib, atk
|
||||
}:
|
||||
|
||||
let
|
||||
@ -31,6 +29,9 @@ let
|
||||
sha256 = "0sqk0vdwjq44jxbbkj1cy8qykrmafs1sickzldb2w2nshsnjshhg";
|
||||
};
|
||||
|
||||
xapian = callPackage ../../../development/libraries/xapian { inherit stdenv; };
|
||||
zimlib = callPackage ../../../development/libraries/zimlib { inherit stdenv; };
|
||||
|
||||
in
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
@ -97,7 +98,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
rm $out/bin/kiwix
|
||||
makeWrapper $out/lib/kiwix/kiwix-launcher $out/bin/kiwix \
|
||||
--suffix LD_LIBRARY_PATH : `cat ${stdenv.cc}/nix-support/orig-cc`/lib:${makeLibraryPath [libX11 libXext libXt libXrender glib dbus dbus_glib gtk gdk_pixbuf pango cairo freetype fontconfig alsaLib atk]} \
|
||||
--suffix LD_LIBRARY_PATH : ${makeLibraryPath [stdenv.cc.cc libX11 libXext libXt libXrender glib dbus dbus_glib gtk gdk_pixbuf pango cairo freetype fontconfig alsaLib atk]} \
|
||||
--suffix PATH : ${aria2}/bin
|
||||
'';
|
||||
|
||||
@ -106,6 +107,5 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://kiwix.org;
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ robbinch ];
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
@ -13659,7 +13659,9 @@ in
|
||||
ffmpeg = ffmpeg_2;
|
||||
};
|
||||
|
||||
kiwix = callPackage ../applications/misc/kiwix { };
|
||||
kiwix = callPackage ../applications/misc/kiwix {
|
||||
stdenv = overrideCC stdenv gcc49;
|
||||
};
|
||||
|
||||
koji = callPackage ../tools/package-management/koji { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user