From 0fa1ffd17f0f083ffe76ae23767908e82c3fe5f7 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Sat, 4 Aug 2018 16:04:51 +0200 Subject: [PATCH] xlsfonts: set license in overrides --- pkgs/servers/x11/xorg/default.nix | 1 - pkgs/servers/x11/xorg/overrides.nix | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/x11/xorg/default.nix b/pkgs/servers/x11/xorg/default.nix index 26865ebb9426..cc28dc73ca87 100644 --- a/pkgs/servers/x11/xorg/default.nix +++ b/pkgs/servers/x11/xorg/default.nix @@ -2526,7 +2526,6 @@ let nativeBuildInputs = [ pkgconfig ]; buildInputs = [ libX11 xproto ]; meta.platforms = stdenv.lib.platforms.unix; - meta.license = stdenv.lib.licenses.mit; }) // {inherit libX11 xproto ;}; xmag = (mkDerivation "xmag" { diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 2438c49d9cb9..d989d17b0325 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -426,6 +426,10 @@ in ''; }; + xlsfonts = attrs: attrs // { + meta = attrs.meta // { license = lib.licenses.mit; }; + }; + xorgserver = with xorg; attrs_passed: # exchange attrs if abiCompat is set let