cabal-install: jailbreak version 1.18.0.3 to accept random 1.x

This commit is contained in:
Peter Simons 2014-10-14 15:20:50 +02:00
parent fc52022d25
commit e53b2ba9b2
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ cabal.mkDerivation (self: {
mkdir $out/etc
mv bash-completion $out/etc/bash_completion.d
'';
patchPhase = ''
sed -i -e 's|random .*1.1,|random,|' cabal-install.cabal
'';
meta = {
homepage = "http://www.haskell.org/cabal/";
description = "The command-line interface for Cabal and Hackage";