about summary refs log tree commit diff
path: root/machines/profpatsch
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-23 07:10:45 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-04-23 07:12:01 +0200
commit8444a00d3eb46b23429669ac73641c267a890dbb (patch)
treee3731542f3aa13a64e9c847659310f5a8567fa3a /machines/profpatsch
parenta4b4b6dee4d442c36fd3cbc44ff0bebc5ea22f8e (diff)
machines/profpatsch/shiki: allow unfree for mpvScripts.convert
In a recent PR, mpvScripts.convert was marked unfree (for lacking a
license upstream). This is probably fine, so we add this as an exception
via the predicate option (as the lowest impact solution in contrast to
enabling allowUnfree).

cc @Profpatsch
Diffstat (limited to 'machines/profpatsch')
-rw-r--r--machines/profpatsch/shiki.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix
index 95e35972..3b9c04d6 100644
--- a/machines/profpatsch/shiki.nix
+++ b/machines/profpatsch/shiki.nix
@@ -125,6 +125,10 @@ in {
       auto-optimise-store = true
     '';
 
+    nixpkgs.config.allowUnfreePredicate = pkg: lib.elem (lib.getName pkg) [
+      "mpv-convert-script"
+    ];
+
     ##########
     # Network