mirror of
https://github.com/srid/haskell-flake.git
synced 2024-08-15 17:00:41 +03:00
replace types.string with types.str (#189)
This commit is contained in:
parent
d3c8d8be31
commit
f16e7ac05b
@ -11,6 +11,7 @@
|
||||
- Add `project.config.defaults.enable` to turn off all default settings en masse.
|
||||
- Regressions in this PR: #169, #178
|
||||
- #175: `devShell`: Add options `benchmark` (to enable benchmark dependencies) and `hoogle` (whether to include Hoogle in development shell)
|
||||
- #189: Use `types.str` instead of `types.string` in option types
|
||||
|
||||
## 0.3.0 (May 22, 2023)
|
||||
|
||||
|
@ -24,7 +24,7 @@ in
|
||||
};
|
||||
|
||||
cabal.executables = mkOption {
|
||||
type = types.nullOr (types.listOf types.string);
|
||||
type = types.nullOr (types.listOf types.str);
|
||||
description = ''
|
||||
List of executable names found in the cabal file of the package.
|
||||
|
||||
|
@ -45,7 +45,7 @@ in
|
||||
if enable then markBroken else unmarkBroken;
|
||||
};
|
||||
brokenVersions = {
|
||||
type = types.attrsOf types.string;
|
||||
type = types.attrsOf types.str;
|
||||
description = ''
|
||||
List of versions that are known to be broken.
|
||||
'';
|
||||
@ -167,21 +167,21 @@ in
|
||||
impl = addSetupDepends;
|
||||
};
|
||||
extraConfigureFlags = {
|
||||
type = types.listOf types.string;
|
||||
type = types.listOf types.str;
|
||||
description = ''
|
||||
Extra flags to pass to 'cabal configure'
|
||||
'';
|
||||
impl = appendConfigureFlags;
|
||||
};
|
||||
extraBuildFlags = {
|
||||
type = types.listOf types.string;
|
||||
type = types.listOf types.str;
|
||||
description = ''
|
||||
Extra flags to pass to 'cabal build'
|
||||
'';
|
||||
impl = appendBuildFlags;
|
||||
};
|
||||
removeConfigureFlags = {
|
||||
type = types.listOf types.string;
|
||||
type = types.listOf types.str;
|
||||
description = ''
|
||||
Flags to remove from the default flags passed to 'cabal configure'
|
||||
'';
|
||||
@ -237,7 +237,7 @@ in
|
||||
if enable then enableSeparateBinOutput else disableSeparateBinOutput;
|
||||
};
|
||||
buildTargets = {
|
||||
type = types.listOf types.string;
|
||||
type = types.listOf types.str;
|
||||
description = ''
|
||||
A list of targets to build.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user