darcs: jailbreak to fix build with random 1.x

This commit is contained in:
Peter Simons 2014-10-14 15:13:23 +02:00
parent ccbdf31164
commit 8c3757a24d

View File

@ -23,6 +23,9 @@ cabal.mkDerivation (self: {
mkdir -p $out/etc/bash_completion.d
mv contrib/darcs_completion $out/etc/bash_completion.d/darcs
'';
patchPhase = ''
sed -i -e 's|random.*==.*|random|' darcs.cabal
'';
meta = {
homepage = "http://darcs.net/";
description = "a distributed, interactive, smart revision control system";