plasma5 tests: fix by using older fontconfig-penultimate
enable = false; didn't help, but downgrading did. It's a mystery to me. Discussion: https://github.com/NixOS/nixpkgs/commit/c9f8fb4d127a
This commit is contained in:
parent
ee4f8c2dc9
commit
bba5b1c434
1 changed files with 15 additions and 0 deletions
|
@ -13,6 +13,21 @@ import ./make-test.nix ({ pkgs, ...} :
|
|||
services.xserver.desktopManager.plasma5.enable = true;
|
||||
services.xserver.desktopManager.default = "plasma5";
|
||||
virtualisation.memorySize = 1024;
|
||||
|
||||
# fontconfig-penultimate-0.3.3 -> 0.3.4 broke OCR apparently, but no idea why.
|
||||
nixpkgs.config.packageOverrides = superPkgs: {
|
||||
fontconfig-penultimate = superPkgs.fontconfig-penultimate.overrideAttrs
|
||||
(_attrs: rec {
|
||||
version = "0.3.3";
|
||||
name = "fontconfig-penultimate-${version}";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "ttuegel";
|
||||
repo = "fontconfig-penultimate";
|
||||
rev = version;
|
||||
sha256 = "0392lw31jps652dcjazln77ihb6bl7gk201gb7wb9i223avp86w9";
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
enableOCR = true;
|
||||
|
|
Loading…
Reference in a new issue