Commit Graph
52 Commits
Author SHA1 Message Date
Erik Arvstedt e6fad86853 tesseract: 4.1.0 -> 4.1.1 2020-01-17 13:19:12 +00:00
Erik Arvstedt 5bdb653baf test-driver.py: fix decoding of VM output
The codec format 'unicode_escape' was introduced in 52ee102 to handle
undecodable bytes in boot menus.

This made the problem worse as unicode chars outside of iso-8859-1
produce garbled output and valid utf-8 strings (such as "\x" ) trigger
decoding errors.

Fix this by using the default 'utf-8' codec and by explicitly ignoring
decoding errors.
2020-01-14 15:52:44 -08:00
Erik Arvstedt caa435fd1d test-driver.py: specify coreutils dependency
Otherwise the driver script fails when coreutils are not in PATH.
2020-01-14 15:52:44 -08:00
Erik Arvstedt 9ed03f2103 nixos/paperless: fix tmpfiles rules
Previously, the service expected the paperless user to have a group with
the user's name. This is not necessarily the case for custom users.
2020-01-13 02:01:23 +00:00
Erik Arvstedt 5ad5d2321f nixos/paperless: don't use deprecated types.loaOf
This removes a warning.
2020-01-13 02:01:23 +00:00
Erik Arvstedt 28e98fdfbc python.pkgs.django_extensions: fix build 2020-01-13 02:01:23 +00:00
Erik Arvstedt 8aa5f30a8f nixos/bitcoind: remove PermissionsStartOnly
Unneded because there are no extra commands like ExecStartPre
2019-11-18 21:48:02 +01:00
Erik Arvstedt 1b81302d49 androidenv: rename stdenv.lib -> lib
Removes some visual clutter.
2019-08-17 11:19:06 +02:00
Erik Arvstedt 2ec43d3509 androidenv/emulate-app: rename androidsdkComposition -> sdk
This greatly improves readability by shortening some of the overlong lines.
2019-08-17 11:19:05 +02:00
Erik Arvstedt 4daca65fe3 manual/android: add Play Store to emulator example
This system type was previously broken but is now fixed.
Add it here to showcase the common task of launching a fully-fledged Android
system with an included app store.
2019-08-17 11:19:05 +02:00
Erik Arvstedt 0dab612395 androidenv/emulate-app: fix passing extra args to the sdk composition
This feature was originally intended but left unfinished, as indicated
by the unused variables 'args' and 'androidSdkArgNames'.
2019-08-17 11:19:02 +02:00
Erik Arvstedt e48d97f640 androidenv: fix deployment of google_apis* system images
Fixes #56866
2019-08-17 11:18:59 +02:00
Erik Arvstedt bc0ff3ec04 tmpwatch: add fuser support 2019-07-20 14:38:51 +02:00
Erik Arvstedt 1e0694f7c9 gem-config: add zlib 2019-05-08 17:46:03 +02:00
Erik Arvstedt e3461b89fd gem-config: fix formatting 2019-05-08 17:40:53 +02:00
Erik Arvstedt 80c3ddbad8 paperless service: init 2019-05-08 09:26:32 +02:00
Erik Arvstedt 0231273a57 paperless: init at 2.7.0 2019-05-08 09:26:31 +02:00
Erik Arvstedt 76218fdc3a pythonPackages.djangoql: init at 0.12.6 2019-04-29 11:55:43 +02:00
Erik Arvstedt e401666503 pythonPackages.inotify-simple: init at 1.1.8 2019-04-29 11:41:43 +02:00
Erik Arvstedt 0babb25bb3 pythonPackages.pdftotext: init at 2.1.1 2019-04-29 11:41:43 +02:00
Erik Arvstedt 8646d2a2bb pythonPackages.pytest-env: init at 0.6.2 2019-04-29 11:41:43 +02:00
Erik Arvstedt 5e3e440a60 pythonPackages.python-dotenv: init at 0.10.1 2019-04-29 11:41:43 +02:00
Erik Arvstedt 72aec3e01c pythonPackages.langdetect: init at 1.0.7 2019-04-29 11:41:42 +02:00
Erik Arvstedt 071f3b34e6 pythonPackages.filemagic: init at 1.6 2019-04-29 11:41:42 +02:00
Erik Arvstedt 9699ce4cf7 imagemagickBig: mark as broken 2019-02-12 10:23:30 +01:00
Erik Arvstedt 0289f4adf0 tesseract: add tesseract3 top-level attr 2018-12-19 18:10:43 +01:00
Erik Arvstedt 8d1ba999cb tesseract: rename to tesseract4, add alias
This is more consistent with the naming of the most popular versioned pkgs.
2018-12-19 18:09:56 +01:00
Erik Arvstedt b818997807 tesseract: add separate language derivations
This frees users from downloading all languages when building
Tesseract with a custom set of languages.

`enableLanguagesHash` is now obsolete.
2018-12-19 18:08:21 +01:00
Erik Arvstedt aaaed13077 tesseract: add a wrapper to setup languages
Tesseract is now decoupled from the tessdata language corpus.

This avoids recompilation when building Tesseract with a custom set
of languages.

Update k2pdfopt to use the new wrapper interface.
2018-12-19 18:08:16 +01:00
Erik Arvstedt 45d2a2dd91 tesseract: change file layout
Rename default.nix -> tesseract3.nix
Rename 4.x.nix -> tesseract4.nix

This is needed for the following commits.
2018-12-19 18:07:39 +01:00
Erik Arvstedt c64a9718ce nixos/containers: simplify env var definition
Also clear up the misleading comment: This env var isn't
root-specific, it's needed for all users.
2018-11-26 23:06:56 +01:00
Erik Arvstedt 931b7b47a2 nixos tests doc: minor fixes
This fixes some quirks I introduced in previous commits.

1. No need for an extra newline when printing the output of shell commands.
2. 'or die' is what's already used in the NixOS test sources, while
   'die unless' has no occurrences.
2018-11-26 19:36:50 +01:00
Erik Arvstedt 215c91d79e nixos/initrd: improve descriptions
The improved lspci command shows all available ethernet controllers and
their kernel modules. Previously, the user had to provide the slot name
of a specific device.
2018-10-02 17:38:06 +02:00
Erik Arvstedt 4c755e1218 nixos display-managers: fix typo in description 2018-09-17 15:03:01 +02:00
Erik Arvstedt a91330a41b nixos tests doc: update VM state path 2018-09-17 15:02:58 +02:00
Erik Arvstedt 6e203af399 nixos tests doc: add example statement 2018-09-17 13:08:08 +02:00
Erik Arvstedt b0956b0ae3 nixos tests doc: fix example statement
False statements don't cause NixOS tests to fail, we need to throw an
exception or terminate.
2018-09-17 13:08:02 +02:00
Erik Arvstedt 7a42623c23 networking.hostId: fix cmd in description
1. Simplify the command by reading directly from /etc/machine-id which
is already a random, lower-case hex string
2. Previously, the command output could be too short because of missing
leading digits. This is now fixed.
2018-09-11 11:29:04 +02:00
Erik Arvstedt eb60a87887 python-docs: minor typo and grammar fixes 2018-07-26 14:28:23 +02:00
Erik Arvstedt fa01100f40 python-docs: fix override examples
Use example package `zerobin` instead of `bepasty-server` which
is no longer part of python-packages.
This fixes the examples for current nixpkgs versions.
2018-07-25 21:33:48 +02:00
Erik Arvstedt 42e3727aa2 python docs: improve override example
1. Use the same approach like in the overlay example:
   Override `python` instead of `pythonPackages` so that
   `python.pkgs` refers to the new package set like `pythonPackages`.

   This also fixes a bug in the original example where
   `pkgs.fetchgit` was not in scope.

   Add an extra example to illustrate how to override just a
   package set.

2. Fix mix-up between `super` and `self` in the explanation text.
   Also, simplify the explanation.
2018-07-25 21:29:25 +02:00
Erik Arvstedt a8f54972f4 python docs: improve overlay example
The `pythonPackages` definition is redundant
2018-07-25 16:44:56 +02:00
Erik Arvstedt aecf24a0eb openvpn: document how to import an external config 2018-07-20 10:51:52 +02:00
Erik Arvstedt adce6bf638 refind: fix runtime errors
In newer versions, instead of using $PWD to locate its ressource files,
Refind now refers to the dir containing $0.
This causes runtime errors due to missing ressources.

In lieu a wrapper binary, we now simply patch the variable 'RefindDir'
which stores the path to the ressource dir.
2018-05-03 22:13:39 +02:00
Erik Arvstedt 4e79f2fb42 opentimestamps-client: 0.5.1 -> 0.6.0 2018-04-27 23:10:04 +02:00
Erik Arvstedt 5c7b7c360b pythonPackages.opentimestamps: 0.2.1 -> 0.3.0 2018-04-27 23:09:55 +02:00
Erik Arvstedt 683eeab299 openvpn: remove redundant timestamps from log output
The systemd journal is already logging and showing timestamps
2018-04-21 14:17:22 +02:00
Erik Arvstedt 2ee097b820 opentimestamps-client: init at 0.5.1 2018-03-07 12:22:16 +01:00
Erik Arvstedt 7374c5bed9 pythonPackages.opentimestamps: init at 0.2.1 2018-03-07 12:22:16 +01:00
Erik Arvstedt c9b4dc17f0 pythonPackages.pysha3: init at 1.0.2 2018-03-07 12:22:11 +01:00
Erik Arvstedt c94ad64ae5 rsbep: init at 0.1.0
fixes #36182
2018-03-03 17:10:05 +00:00
Erik Arvstedt f9f360883b untrunc: init at 2018.01.13 2018-03-01 20:30:48 +01:00