about summary refs log tree commit diff
path: root/nixos/tests/plasma5.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-05-24 14:54:46 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-05-24 14:56:43 +0200
commitbba5b1c434ac94ea1410448bbe5e470810c02c74 (patch)
tree88911db69a4d0ca3ec672d0361d1086b25ae028e /nixos/tests/plasma5.nix
parentee4f8c2dc98f10b75242b526245229e24baa6010 (diff)
downloadnixlib-bba5b1c434ac94ea1410448bbe5e470810c02c74.tar
nixlib-bba5b1c434ac94ea1410448bbe5e470810c02c74.tar.gz
nixlib-bba5b1c434ac94ea1410448bbe5e470810c02c74.tar.bz2
nixlib-bba5b1c434ac94ea1410448bbe5e470810c02c74.tar.lz
nixlib-bba5b1c434ac94ea1410448bbe5e470810c02c74.tar.xz
nixlib-bba5b1c434ac94ea1410448bbe5e470810c02c74.tar.zst
nixlib-bba5b1c434ac94ea1410448bbe5e470810c02c74.zip
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
Diffstat (limited to 'nixos/tests/plasma5.nix')
-rw-r--r--nixos/tests/plasma5.nix15
1 files changed, 15 insertions, 0 deletions
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;