haskell-streaming-commons: fix build on older GHC versions some more

This commit is contained in:
Peter Simons
2015-01-20 23:56:56 +01:00
parent ba67ad3c88
commit 1d6d5932cd
3 changed files with 7 additions and 4 deletions
+3
View File
@@ -25,6 +25,9 @@ rec {
addBuildTool = drv: x: addBuildTools drv [x];
addBuildTools = drv: xs: overrideCabal drv (drv: { buildTools = (drv.buildTools or []) ++ xs; });
addBuildDepend = drv: x: addBuildDepends drv [x];
addBuildDepends = drv: xs: overrideCabal drv (drv: { buildDepends = (drv.buildDepends or []) ++ xs; });
enableCabalFlag = drv: x: appendConfigureFlag (removeConfigureFlag drv "-f-${x}") "-f${x}";
disableCabalFlag = drv: x: appendConfigureFlag (removeConfigureFlag drv "-f${x}") "-f-${x}";