From ec7344e339991587e8b184b1868163cb28e9e9a4 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Thu, 12 Dec 2024 10:34:13 +0100 Subject: [PATCH] feat(nix-reuse): Disable the `version` option As we are the ones to generate thes REUSE.toml, we control the version --- modules/reuse.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/reuse.nix b/modules/reuse.nix index 3e52b87..3597667 100644 --- a/modules/reuse.nix +++ b/modules/reuse.nix @@ -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;