Get ICDM working

Update libkiwix, kiwixtools, zimlib to latest upstream
Update flake.nix to easily build stable/unstable systems
This commit is contained in:
Greg Hellings
2023-03-15 00:43:31 -05:00
parent d2d8f3b6a3
commit 2e17c25781
5 changed files with 71 additions and 14 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
owner = "kiwix";
repo = pname;
rev = version;
sha256 = "sha256-vE8bJrNx0oojTgcDhlr+SyfzdpigCZ0pQ2cPYaiZlgw=";
sha256 = "sha256-4FxLxJxVhqbeNqX4vorHkROUuRURvE6AXlteIZCEBtc=";
};
nativeBuildInputs = [
@@ -47,10 +47,10 @@ stdenv.mkDerivation rec {
zlib
];
mesonFlags = [ "--debug" ];
mesonFlags = [ "--debug" "-Dc_args=-I${zimlib}/include/" ];
# Built-in python script uses /usr/bin/env
patchPhase = "patchShebangs --build scripts/kiwix-compile-resources";
patchPhase = "patchShebangs --build scripts/*";
meta = with lib; {
description = "Kiwix file library for use by other applications";