Skip to content

Commit bba5b1c

Browse files
committedMay 24, 2017
plasma5 tests: fix by using older fontconfig-penultimate
enable = false; didn't help, but downgrading did. It's a mystery to me. Discussion: c9f8fb4d127a
1 parent ee4f8c2 commit bba5b1c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
 

‎nixos/tests/plasma5.nix

+15
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@ import ./make-test.nix ({ pkgs, ...} :
1313
services.xserver.desktopManager.plasma5.enable = true;
1414
services.xserver.desktopManager.default = "plasma5";
1515
virtualisation.memorySize = 1024;
16+
17+
# fontconfig-penultimate-0.3.3 -> 0.3.4 broke OCR apparently, but no idea why.
18+
nixpkgs.config.packageOverrides = superPkgs: {
19+
fontconfig-penultimate = superPkgs.fontconfig-penultimate.overrideAttrs
20+
(_attrs: rec {
21+
version = "0.3.3";
22+
name = "fontconfig-penultimate-${version}";
23+
src = pkgs.fetchFromGitHub {
24+
owner = "ttuegel";
25+
repo = "fontconfig-penultimate";
26+
rev = version;
27+
sha256 = "0392lw31jps652dcjazln77ihb6bl7gk201gb7wb9i223avp86w9";
28+
};
29+
});
30+
};
1631
};
1732

1833
enableOCR = true;

0 commit comments

Comments
 (0)
Please sign in to comment.