cabal-install-1.20.0.4: patch the build manually instead of relying on jailbreak
jailbreak-cabal has trouble with that cabal file when built with older versions of the Cabal library.
This commit is contained in:
parent
7a726a9b02
commit
c9a2bbdf65
@ -18,12 +18,14 @@ cabal.mkDerivation (self: {
|
|||||||
Cabal filepath HTTP HUnit mtl network QuickCheck stm testFramework
|
Cabal filepath HTTP HUnit mtl network QuickCheck stm testFramework
|
||||||
testFrameworkHunit testFrameworkQuickcheck2 time zlib
|
testFrameworkHunit testFrameworkQuickcheck2 time zlib
|
||||||
];
|
];
|
||||||
jailbreak = true;
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir $out/etc
|
mkdir $out/etc
|
||||||
mv bash-completion $out/etc/bash_completion.d
|
mv bash-completion $out/etc/bash_completion.d
|
||||||
'';
|
'';
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e 's|random .*< 1.1,|random,|' cabal-install.cabal
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.haskell.org/cabal/";
|
homepage = "http://www.haskell.org/cabal/";
|
||||||
description = "The command-line interface for Cabal and Hackage";
|
description = "The command-line interface for Cabal and Hackage";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user