haskell.lib: add doDistribute function as a dual to dontDistribute
This commit is contained in:
parent
974f2122b1
commit
7802f5c793
@ -17,6 +17,7 @@ rec {
|
||||
doCheck = drv: overrideCabal drv (drv: { doCheck = true; });
|
||||
dontCheck = drv: overrideCabal drv (drv: { doCheck = false; });
|
||||
|
||||
doDistribute = drv: overrideCabal drv (drv: { hydraPlatforms = drv.platforms or ["i686-linux" "x86_64-linux" "x86_64-darwin"]; });
|
||||
dontDistribute = drv: overrideCabal drv (drv: { hydraPlatforms = []; });
|
||||
|
||||
appendConfigureFlag = drv: x: overrideCabal drv (drv: { configureFlags = (drv.configureFlags or []) ++ [x]; });
|
||||
|
Loading…
Reference in New Issue
Block a user