mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
haskell-lib.nix: fix doCheck helper
This commit is contained in:
parent
dfb944087b
commit
87eba920fa
@ -12,12 +12,12 @@ rec {
|
||||
doJailbreak = drv: overrideCabal drv (drv: { jailbreak = true; });
|
||||
dontJailbreak = drv: overrideCabal drv (drv: { jailbreak = false; });
|
||||
|
||||
doCheck = drv: overrideCabal drv (drv: { doCheck = false; });
|
||||
doCheck = drv: overrideCabal drv (drv: { doCheck = true; });
|
||||
dontCheck = drv: overrideCabal drv (drv: { doCheck = false; });
|
||||
|
||||
dontDistribute = drv: overrideCabal drv (drv: { hydraPlatforms = []; });
|
||||
|
||||
appendConfigureFlag = drv: x: overrideCabal drv (drv: { configureFlags = drv.configureFlags or [] ++ [x]; });
|
||||
appendConfigureFlag = drv: x: overrideCabal drv (drv: { configureFlags = (drv.configureFlags or []) ++ [x]; });
|
||||
removeConfigureFlag = drv: x: overrideCabal drv (drv: { configureFlags = pkgs.stdenv.lib.remove x (drv.configureFlags or []); });
|
||||
|
||||
enableCabalFlag = drv: x: appendConfigureFlag (removeConfigureFlag drv "-f-${x}") "-f${x}";
|
||||
|
Loading…
Reference in New Issue
Block a user