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:
parent
3805866429
commit
ec7344e339
1 changed files with 1 additions and 10 deletions
|
@ -23,7 +23,6 @@ let
|
||||||
attrsOf
|
attrsOf
|
||||||
either
|
either
|
||||||
enum
|
enum
|
||||||
int
|
|
||||||
listOf
|
listOf
|
||||||
nullOr
|
nullOr
|
||||||
str
|
str
|
||||||
|
@ -31,7 +30,7 @@ let
|
||||||
;
|
;
|
||||||
|
|
||||||
result = (pkgs.formats.toml { }).generate "REUSE.toml" {
|
result = (pkgs.formats.toml { }).generate "REUSE.toml" {
|
||||||
inherit (config) version;
|
version = 1;
|
||||||
annotations = builtins.map (
|
annotations = builtins.map (
|
||||||
{
|
{
|
||||||
path,
|
path,
|
||||||
|
@ -61,14 +60,6 @@ in
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
version = mkOption {
|
|
||||||
type = int;
|
|
||||||
default = 1;
|
|
||||||
description = ''
|
|
||||||
Integer value representing the schema version of the `REUSE.toml` file.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
defaultLicense = mkOption {
|
defaultLicense = mkOption {
|
||||||
type = nullOr str;
|
type = nullOr str;
|
||||||
default = null;
|
default = null;
|
||||||
|
|
Loading…
Reference in a new issue