Use jailbreak to get rid of overspecified version restrictions to fix

builds of Agda, accelerate-cuda, clientsession, filestore, ghc-events,
gitit, happstack, happstack, happstack, hledger-lib, hledger, mime-mail,
pandoc, snap, wai-app-static, yesod-static, and urlencoded.
This commit is contained in:
Peter Simons 2012-09-06 15:21:17 +02:00
parent 470ade254e
commit d7d1f995e6
17 changed files with 17 additions and 52 deletions

View File

@ -13,9 +13,7 @@ cabal.mkDerivation (self: {
QuickCheck syb xhtml zlib QuickCheck syb xhtml zlib
]; ];
buildTools = [ alex happy ]; buildTools = [ alex happy ];
patchPhase = '' jailbreak = true;
sed -i -e 's|mtl == 2.0.\*|mtl|' Agda.cabal
'';
meta = { meta = {
homepage = "http://wiki.portal.chalmers.se/agda/"; homepage = "http://wiki.portal.chalmers.se/agda/";
description = "A dependently typed functional programming language and proof assistant"; description = "A dependently typed functional programming language and proof assistant";

View File

@ -12,9 +12,6 @@ cabal.mkDerivation (self: {
hashable hashtables languageCQuote mainlandPretty mtl srcloc hashable hashtables languageCQuote mainlandPretty mtl srcloc
transformers unorderedContainers transformers unorderedContainers
]; ];
patchPhase = ''
sed -i -e 's|\<defaultMain\>|defaultMainWithHooks autoconfUserHooks|' Setup.hs
'';
meta = { meta = {
homepage = "http://www.cse.unsw.edu.au/~chak/project/accelerate/"; homepage = "http://www.cse.unsw.edu.au/~chak/project/accelerate/";
description = "Accelerate backend for NVIDIA GPUs"; description = "Accelerate backend for NVIDIA GPUs";

View File

@ -10,9 +10,7 @@ cabal.mkDerivation (self: {
base64Bytestring cereal cprngAes cryptoApi cryptocipher entropy base64Bytestring cereal cprngAes cryptoApi cryptocipher entropy
skein tagged skein tagged
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' clientsession.cabal
'';
meta = { meta = {
homepage = "http://github.com/yesodweb/clientsession/tree/master"; homepage = "http://github.com/yesodweb/clientsession/tree/master";
description = "Securely store session data in a client-side cookie"; description = "Securely store session data in a client-side cookie";

View File

@ -11,9 +11,7 @@ cabal.mkDerivation (self: {
buildDepends = [ buildDepends = [
Diff filepath HUnit mtl parsec split time utf8String xml Diff filepath HUnit mtl parsec split time utf8String xml
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|split.*,|split,|' filestore.cabal
'';
noHaddock = true; noHaddock = true;
meta = { meta = {
description = "Interface for versioning file stores"; description = "Interface for versioning file stores";

View File

@ -7,9 +7,7 @@ cabal.mkDerivation (self: {
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ binary mtl ]; buildDepends = [ binary mtl ];
patchPhase = '' jailbreak = true;
sed -i -e 's|mtl *>=.*$|mtl,|' ghc-events.cabal
'';
noHaddock = true; noHaddock = true;
meta = { meta = {
description = "Library and tool for parsing .eventlog files from GHC"; description = "Library and tool for parsing .eventlog files from GHC";

View File

@ -18,9 +18,7 @@ cabal.mkDerivation (self: {
safe SHA syb tagsoup text time url utf8String xhtml xml xssSanitize safe SHA syb tagsoup text time url utf8String xhtml xml xssSanitize
zlib zlib
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|hslogger.*,|hslogger,|' -e 's|base64-bytestring.*,|base64-bytestring,|' gitit.cabal
'';
meta = { meta = {
homepage = "http://gitit.net"; homepage = "http://gitit.net";
description = "Wiki using happstack, git or darcs, and pandoc"; description = "Wiki using happstack, git or darcs, and pandoc";

View File

@ -5,9 +5,7 @@ cabal.mkDerivation (self: {
version = "7.0.1"; version = "7.0.1";
sha256 = "13ayypl2x402h6a7yq7fvgd2mn21gl5gcw2hk7f5vr2bdlvwv53n"; sha256 = "13ayypl2x402h6a7yq7fvgd2mn21gl5gcw2hk7f5vr2bdlvwv53n";
buildDepends = [ hamlet happstackServer text ]; buildDepends = [ hamlet happstackServer text ];
patchPhase = '' jailbreak = true;
sed -i -e 's|hamlet .*,|hamlet,|' happstack-hamlet.cabal
'';
meta = { meta = {
homepage = "http://www.happstack.com/"; homepage = "http://www.happstack.com/";
description = "Support for Hamlet HTML templates in Happstack"; description = "Support for Hamlet HTML templates in Happstack";

View File

@ -13,9 +13,7 @@ cabal.mkDerivation (self: {
html monadControl mtl network parsec sendfile syb systemFilepath html monadControl mtl network parsec sendfile syb systemFilepath
text time transformers transformersBase utf8String xhtml zlib text time transformers transformersBase utf8String xhtml zlib
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|base64-bytestring.*,|base64-bytestring,|' happstack-server.cabal
'';
meta = { meta = {
homepage = "http://happstack.com"; homepage = "http://happstack.com";
description = "Web related tools and services"; description = "Web related tools and services";

View File

@ -12,9 +12,7 @@ cabal.mkDerivation (self: {
extensibleExceptions filepath hslogger mtl network parsec random extensibleExceptions filepath hslogger mtl network parsec random
time unixCompat time unixCompat
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|mtl >= 1.1 && < 2.1|mtl|' happstack-util.cabal
'';
meta = { meta = {
homepage = "http://happstack.com"; homepage = "http://happstack.com";
description = "Web framework"; description = "Web framework";

View File

@ -10,9 +10,7 @@ cabal.mkDerivation (self: {
cmdargs csv filepath HUnit mtl parsec regexpr safe shakespeareText cmdargs csv filepath HUnit mtl parsec regexpr safe shakespeareText
split time transformers utf8String split time transformers utf8String
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|,split.*|,split|' -e 's|,cmdargs.*|,cmdargs|' hledger-lib.cabal
'';
meta = { meta = {
homepage = "http://hledger.org"; homepage = "http://hledger.org";
description = "Core data types, parsers and utilities for the hledger accounting tool"; description = "Core data types, parsers and utilities for the hledger accounting tool";

View File

@ -13,9 +13,7 @@ cabal.mkDerivation (self: {
cabalFileTh cmdargs filepath haskeline hledgerLib HUnit mtl parsec cabalFileTh cmdargs filepath haskeline hledgerLib HUnit mtl parsec
regexpr safe shakespeareText split text time utf8String regexpr safe shakespeareText split text time utf8String
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|,split.*|,split|' -e 's|,cmdargs.*|,cmdargs|' hledger.cabal
'';
meta = { meta = {
homepage = "http://hledger.org"; homepage = "http://hledger.org";
description = "The main command-line interface for the hledger accounting tool"; description = "The main command-line interface for the hledger accounting tool";

View File

@ -7,9 +7,7 @@ cabal.mkDerivation (self: {
buildDepends = [ buildDepends = [
base64Bytestring blazeBuilder filepath random text base64Bytestring blazeBuilder filepath random text
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' mime-mail.cabal
'';
meta = { meta = {
homepage = "http://github.com/snoyberg/mime-mail"; homepage = "http://github.com/snoyberg/mime-mail";
description = "Compose MIME email messages"; description = "Compose MIME email messages";

View File

@ -15,9 +15,7 @@ cabal.mkDerivation (self: {
highlightingKate HTTP json mtl network pandocTypes parsec random highlightingKate HTTP json mtl network pandocTypes parsec random
syb tagsoup temporary texmath time utf8String xml zipArchive zlib syb tagsoup temporary texmath time utf8String xml zipArchive zlib
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|base64-bytestring.*,|base64-bytestring,|' pandoc.cabal
'';
meta = { meta = {
homepage = "http://johnmacfarlane.net/pandoc"; homepage = "http://johnmacfarlane.net/pandoc";
description = "Conversion between markup formats"; description = "Conversion between markup formats";

View File

@ -19,9 +19,7 @@ cabal.mkDerivation (self: {
snapServer stm syb text time transformers unorderedContainers snapServer stm syb text time transformers unorderedContainers
utf8String vector vectorAlgorithms xmlhtml utf8String vector vectorAlgorithms xmlhtml
]; ];
patchPhase = '' jailbreak = true;
sed -i snap.cabal -e 's|clientsession.*,|clientsession,|'
'';
meta = { meta = {
homepage = "http://snapframework.com/"; homepage = "http://snapframework.com/";
description = "Snap: A Haskell Web Framework: project starter executable and glue code library"; description = "Snap: A Haskell Web Framework: project starter executable and glue code library";

View File

@ -7,9 +7,7 @@ cabal.mkDerivation (self: {
isLibrary = true; isLibrary = true;
isExecutable = true; isExecutable = true;
buildDepends = [ mtl network split ]; buildDepends = [ mtl network split ];
patchPhase = '' jailbreak = true;
sed -i -e 's|split.*|split|' urlencoded.cabal
'';
meta = { meta = {
homepage = "https://github.com/pheaver/urlencoded"; homepage = "https://github.com/pheaver/urlencoded";
description = "Generate or process x-www-urlencoded data"; description = "Generate or process x-www-urlencoded data";

View File

@ -13,9 +13,7 @@ cabal.mkDerivation (self: {
cryptoConduit cryptohash fileEmbed httpDate httpTypes mimeTypes cryptoConduit cryptohash fileEmbed httpDate httpTypes mimeTypes
systemFileio systemFilepath text time transformers unixCompat wai systemFileio systemFilepath text time transformers unixCompat wai
]; ];
patchPhase = '' jailbreak = true;
sed -i -e 's|, base64-bytestring.*|, base64-bytestring|' wai-app-static.cabal
'';
meta = { meta = {
homepage = "http://www.yesodweb.com/book/wai"; homepage = "http://www.yesodweb.com/book/wai";
description = "WAI application for static serving"; description = "WAI application for static serving";

View File

@ -12,9 +12,7 @@ cabal.mkDerivation (self: {
httpTypes systemFilepath text transformers unixCompat wai httpTypes systemFilepath text transformers unixCompat wai
waiAppStatic yesodCore waiAppStatic yesodCore
]; ];
patchPhase = '' jailbreak = true;
sed -i yesod-static.cabal -e 's|, base64-bytestring.*|, base64-bytestring|'
'';
meta = { meta = {
homepage = "http://www.yesodweb.com/"; homepage = "http://www.yesodweb.com/";
description = "Static file serving subsite for Yesod Web Framework"; description = "Static file serving subsite for Yesod Web Framework";