From 0da946eac82c2373d75f1cadf1a18dd2b908d191 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 14 Aug 2020 18:41:46 +0200 Subject: [PATCH] joypixels: Reword license acceptance warning --- pkgs/data/fonts/joypixels/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/data/fonts/joypixels/default.nix b/pkgs/data/fonts/joypixels/default.nix index c3261196254..ab05cee885d 100644 --- a/pkgs/data/fonts/joypixels/default.nix +++ b/pkgs/data/fonts/joypixels/default.nix @@ -42,7 +42,15 @@ assert !acceptLicense -> throw '' - ${joypixels-license-appendix.fullName} [2] You can express acceptance by setting acceptLicense to true in your - configuration (configuration.nix or config.nix): + configuration. Note that this is not a free license so it requires allowing + unfree licenses. + + configuration.nix: + nixpkgs.config.allowUnfree = true; + nixpkgs.config.joypixels.acceptLicense = true; + + config.nix: + allowUnfree = true; joypixels.acceptLicense = true; [1]: ${joypixels-free-license.url}