versioning: improve configVersion description
This commit is contained in:
@@ -11,13 +11,16 @@ let
|
|||||||
nix-bitcoin.configVersion = mkOption {
|
nix-bitcoin.configVersion = mkOption {
|
||||||
type = with types; nullOr str;
|
type = with types; nullOr str;
|
||||||
default = null;
|
default = null;
|
||||||
|
example = "0.0.92";
|
||||||
description = mdDoc ''
|
description = mdDoc ''
|
||||||
Set this option to the nix-bitcoin release version that your config is
|
The nix-bitcoin release version that your config is compatible with.
|
||||||
compatible with.
|
|
||||||
|
|
||||||
When upgrading to a backwards-incompatible release, nix-bitcoin will throw an
|
When upgrading to a backwards-incompatible release, nix-bitcoin will throw an
|
||||||
error during evaluation and provide instructions for migrating your config to
|
error during evaluation and provide instructions for migrating your config to
|
||||||
the new release.
|
the new release.
|
||||||
|
|
||||||
|
Once set, you only need to update this option when explicitly told to in an
|
||||||
|
error message during evaluation.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user