Age | Commit message (Collapse) | Author | Files | Lines |
|
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
| xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
|
|
rcljoplin.py uses module "recoll", so PYTHONPATH has to be set.
fixes #311619
|
|
|
|
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
|
|
Without the change the build fails in `master` as
https://hydra.nixos.org/build/250983051:
../src/mmap.cxx:29:19: error: 'SIZE_MAX' was not declared in this scope
29 | # define MMAP_MAX SIZE_MAX/4L
| ^~~~~~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This adds catdvi as a dependency of recoll. According to the
comments in recoll, "dvitext no longer works".
|
|
This cleanup commit uses `lib.withFeature` to simplify the
expression for recoll's `--with{out}-inotify` flags.
|
|
Many recoll filters assume that $PATH contains all their
dependencies. Our current patching approach is a game of
whack-a-mole, and while we will continue trying to play it we ought
to set the $PATH as well.
This commit eliminates a huge number of extraneous error messages
from recoll's log, making it easier to see the remaining ones which
really matter.
|
|
This commit factors out a long repetitive list of `wrapProgram`
invocations into a Nix list which can be iterated upon for other
purposes.
|
|
This commit fixes cross-compilation of recoll by:
1. Disabling the python module when cross compiling
2. Removing `file` from `nativeBuildInputs`, since it leaks into
recoll-*.so, and forcing use of the hostPlatform `file` by adding
the configureFlag that does that.
3. Adding `qtbase` to `nativeBuildInputs` if `withGui`
|
|
Cross-compiling the recoll python modules does not work and is not
easy to fix; for now we disable them.
|
|
|
|
Arg to lib.optional is a list
build time tool in buildInputs
|
|
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
|
|
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
|
|
|
|
python310Packages.recoll: 1.33.2 -> 1.33.4
|
|
|
|
- specify license
|
|
|
|
|
|
Prior to this fix, running recoll fails with the following error:
No/bad main configuration file in /nix/store/.../Resources/examples.
The path is incorrect and RECOLL_DATADIR should be used.
|
|
|
|
|
|
|
|
|
|
https://www.lesbonscomptes.com/recoll/pages/release-1.32.html
|
|
|
|
|
|
|
|
python3Packages.recoll: init
|
|
Also move some stuff to recoll's nativeBuildInputs.
|
|
This was introduced in 05e5f5d5 ('Fix tarball') and no longer serves
the original purpose.
|
|
|
|
|
|
|
|
- remove trailing whitespace
- use spaces for indentation
|
|
|
|
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
|
|
Refactor Changes:
- name -> pname + version
- python2 -> python3
- add pkg-config (to find libxslt)
- patch /usr/share/recoll to $out/share/recoll
- remove Makefile patch for macOS that has been merged upstream (
https://framagit.org/medoc92/recoll/-/commit/b5c5734d064c638b702601fd391037a35b5bb2a1 )
|