haskell-modules-lib: add 'markBroken' helper function

This commit is contained in:
Peter Simons 2015-01-12 16:12:33 +01:00
parent fecd280708
commit 36b5b900db

View File

@ -23,4 +23,6 @@ rec {
enableCabalFlag = drv: x: appendConfigureFlag (removeConfigureFlag drv "-f-${x}") "-f${x}";
disableCabalFlag = drv: x: appendConfigureFlag (removeConfigureFlag drv "-f${x}") "-f-${x}";
markBroken = drv: overrideCabal (drv: { broken = true; });
}