mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-09-11 15:05:40 +03:00
versioning: improve configVersion
description
This commit is contained in:
parent
e3190b244f
commit
bed10d1fca
@ -11,13 +11,16 @@ let
|
||||
nix-bitcoin.configVersion = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
example = "0.0.92";
|
||||
description = mdDoc ''
|
||||
Set this option to the nix-bitcoin release version that your config is
|
||||
compatible with.
|
||||
The nix-bitcoin release version that your config is compatible with.
|
||||
|
||||
When upgrading to a backwards-incompatible release, nix-bitcoin will throw an
|
||||
error during evaluation and provide instructions for migrating your config to
|
||||
the new release.
|
||||
|
||||
Once set, you only need to update this option when explicitly told to in an
|
||||
error message during evaluation.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user