From 2f2ea36e87e050d1b4f93173577615fd320e4423 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 12 May 2026 00:34:18 +0200 Subject: modules/nixpkgs: Allow unfree `cmp-calc` As the comment says, this nvim plugin is effectively free, but they didn't add a license (and it's unmaintained). As such the 'lib.licenses.unfree' makes sense, but allowing it is also ethically okay. --- modules/by-name/ni/nixpkgs/module.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/by-name/ni/nixpkgs/module.nix b/modules/by-name/ni/nixpkgs/module.nix index 502bcff2..84d8e074 100644 --- a/modules/by-name/ni/nixpkgs/module.nix +++ b/modules/by-name/ni/nixpkgs/module.nix @@ -36,14 +36,13 @@ in { ]; config = { - # TODO: this fails because of the root tempsize, which should be increased - # contentAddressedByDefault = true; - hostSystem = cfg.systemName; allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "pypemicro" # required by pynitrokey + # the plugin is lacking an license and is thus unfree, effectively + # its okay though (TODO: investigate <2026-05-11>)? + "cmp-calc" ]; }; }; -- cgit 1.4.1