From 0b448ae4be1718af7221a051e3be55347820ebc3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 12 Nov 2016 15:11:42 +0100 Subject: fix build --- default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/default.nix b/default.nix index 6e792e9..8ae54cc 100644 --- a/default.nix +++ b/default.nix @@ -23,6 +23,16 @@ rec { }; unpackPhase = "cp -r $src/shellac-haskeline/. ."; }); + game-probability = pkgs.stdenv.lib.overrideDerivation super.game-probability (oldAttrs: { + patchPhase = '' + sed -i -e 's|random.*==[^,]*|random|; w /dev/stdout' -e 's|containers.*>=[^,]*|containers|; w /dev/stdout' game-probability.cabal + ''; + }); + table-layout = pkgs.stdenv.lib.overrideDerivation super.table-layout (oldAttrs: { + patchPhase = '' + sed -i -e 's|data-default-class.*==[^,]*|data-default-class|; w /dev/stdout' table-layout.cabal + ''; + }); }; }; sequence = haskellPackages.callPackage ./sequence.nix {}; -- cgit v1.2.3