forked from mirrors/nixpkgs
haskell.lib.markBroken: explicitly disable Hydra builds
Recent changes [1] allow Hydra to build packages that are marked broken. To avoid plenty of evaluation errors on Hydra, explicitly disable Hydra builds of broken packages. [1] https://github.com/NixOS/nixpkgs/issues/7541#issuecomment-357541243
This commit is contained in:
parent
8bf8581b9a
commit
a8d9a94574
|
@ -156,7 +156,7 @@ 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 (drv: { broken = true; });
|
||||
markBroken = drv: overrideCabal drv (drv: { broken = true; hydraPlatforms = []; });
|
||||
markBrokenVersion = version: drv: assert drv.version == version; markBroken drv;
|
||||
|
||||
enableLibraryProfiling = drv: overrideCabal drv (drv: { enableLibraryProfiling = true; });
|
||||
|
|
Loading…
Reference in a new issue