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