From bba5b1c434ac94ea1410448bbe5e470810c02c74 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Wed, 24 May 2017 14:54:46 +0200 Subject: 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 --- nixos/tests/plasma5.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'nixos/tests/plasma5.nix') diff --git a/nixos/tests/plasma5.nix b/nixos/tests/plasma5.nix index f561fc8c3c4c..f97544b5ea52 100644 --- a/nixos/tests/plasma5.nix +++ b/nixos/tests/plasma5.nix @@ -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; -- cgit 1.4.1