···7576mkDerivation rec {
77 pname = "recoll";
78- version = "1.39.1";
7980 src = fetchurl {
81 url = "https://www.recoll.org/${pname}-${version}.tar.gz";
82- hash = "sha256-Eeadj/AnuztCb7VIYEy4hKbduH3CzK53tADvI9+PWmQ=";
83 };
8485 mesonFlags =
···107 ];
108109 env.NIX_CFLAGS_COMPILE = toString [
110- "-DNIXPKGS"
111 "-fpermissive" # libxml2-2.12 changed const qualifiers
112 ];
113114 patches = [
115- # fix "No/bad main configuration file" error
116- ./fix-datadir.patch
117 # use the same configure based build for darwin as linux
118 ./0001-no-qtgui-darwin-bundle.patch
119 ];
···7576mkDerivation rec {
77 pname = "recoll";
78+ version = "1.43.2";
7980 src = fetchurl {
81 url = "https://www.recoll.org/${pname}-${version}.tar.gz";
82+ hash = "sha256-FbDXknumjktcikOfAe4FKtPmggJGGHasq8dpD+8mNzE=";
83 };
8485 mesonFlags =
···107 ];
108109 env.NIX_CFLAGS_COMPILE = toString [
0110 "-fpermissive" # libxml2-2.12 changed const qualifiers
111 ];
112113 patches = [
00114 # use the same configure based build for darwin as linux
115 ./0001-no-qtgui-darwin-bundle.patch
116 ];
-13
pkgs/applications/search/recoll/fix-datadir.patch
···1-diff --git a/utils/rclutil.cpp b/utils/rclutil.cpp
2-index 6bafc119..d997cd17 100644
3---- a/utils/rclutil.cpp
4-+++ b/utils/rclutil.cpp
5-@@ -279,7 +279,7 @@ const string& path_pkgdatadir()
6- "a subfolder of the installation directory. \n"
7- "Please set the RECOLL_DATADIR environment variable to point to it\n"
8- "(e.g. setx RECOLL_DATADIR \"C:/Program Files (X86)/Recoll/Share)\"\n";
9--#elif defined(__APPLE__) && defined(RECOLL_AS_MAC_BUNDLE)
10-+#elif defined(__APPLE__) && defined(RECOLL_AS_MAC_BUNDLE) && defined(NIXPKGS)
11- // The package manager builds (Macports, Homebrew, Nixpkgs ...) all arrange to set a proper
12- // compiled value for RECOLL_DATADIR. We can't do this when building a native bundle with
13- // QCreator, in which case we use the executable location.