haskell.lib: add doBenchmark helper function
This commit is contained in:
parent
eab41cb7be
commit
a8b69958cf
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ rec {
|
|||
doCheck = drv: overrideCabal drv (drv: { doCheck = true; });
|
||||
dontCheck = drv: overrideCabal drv (drv: { doCheck = false; });
|
||||
|
||||
doBenchmark = drv: overrideCabal drv (drv: { doBenchmark = true; });
|
||||
dontBenchmark = drv: overrideCabal drv (drv: { doBenchmark = false; });
|
||||
|
||||
doDistribute = drv: overrideCabal drv (drv: { hydraPlatforms = drv.platforms or ["i686-linux" "x86_64-linux" "x86_64-darwin"]; });
|
||||
dontDistribute = drv: overrideCabal drv (drv: { hydraPlatforms = []; });
|
||||
|
||||
|
|
Loading…
Reference in a new issue