feat(nix-reuse): Disable the version option

As we are the ones to generate thes REUSE.toml, we control the version
This commit is contained in:
Tom Hubrecht 2024-12-12 10:34:13 +01:00
parent 3805866429
commit ec7344e339
Signed by: thubrecht
SSH key fingerprint: SHA256:CYNvFo44Ar9qCNnWNnvJVhs0QXO9AZjOLlPeWcSij3Q

View file

@ -23,7 +23,6 @@ let
attrsOf
either
enum
int
listOf
nullOr
str
@ -31,7 +30,7 @@ let
;
result = (pkgs.formats.toml { }).generate "REUSE.toml" {
inherit (config) version;
version = 1;
annotations = builtins.map (
{
path,
@ -61,14 +60,6 @@ in
readOnly = true;
};
version = mkOption {
type = int;
default = 1;
description = ''
Integer value representing the schema version of the `REUSE.toml` file.
'';
};
defaultLicense = mkOption {
type = nullOr str;
default = null;