change buildipnut of calbire to fix "test failur" of odfpy

This commit is contained in:
stubbfel
2018-01-21 18:04:52 +01:00
parent 36605cef5c
commit 2329bd8685
3 changed files with 11 additions and 26 deletions

View File

@@ -44,11 +44,17 @@ dailyUpdateScript = pkgs.writeText "dailyUpdates.sh" ''#!/bin/bash
${concatStrings callConvertScripts}
'';
odfpyNoTest = pkgs.python2Packages.odfpy.overrideAttrs (oldAttrs: rec {
doInstallCheck = false;
});
calibreWithRecipes = pkgs.calibre.overrideAttrs (oldAttrs: rec {
installPhase = ''
mkdir -p $out/var/news2kindle/recipes
cp -ravf recipes $out/var/news2kindle
''+ oldAttrs.installPhase ;
buildInputs = (remove pkgs.python2Packages.odfpy oldAttrs.buildInputs) ++ [odfpyNoTest];
});