From 41416193316f3a8c887e983ca4bf17ac218481b6 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 26 Jan 2020 16:32:22 +0100 Subject: haskellPackages.bustle: fix building on Hydra Bustle is proclaiming OtherLicense even though the code is licensed under LGPL 2.1+. This causes cabal2nix to set hydraPlatforms = stdenv.lib.platforms.none in hackage-packages.nix for the package. Lets let's unset the attribute and fix the license. --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pkgs/development/haskell-modules') diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4a67c9e91f00..9c256f82dabb 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -608,6 +608,14 @@ self: super: { (bustle: bustle.override { hgettext = null; }) (bustle: disableCabalFlag bustle "hgettext") + # Bustle specifies OtherLicense even though the code is actually LGPL + # https://gitlab.freedesktop.org/bustle/bustle/merge_requests/17 + (bustle: bustle.overrideAttrs (attrs: { + meta = builtins.removeAttrs attrs.meta [ "hydraPlatforms" ] // { + license = pkgs.lib.licenses.lgpl21Plus; + }; + })) + # Install icons, metadata and cli program. (bustle: overrideCabal bustle (drv: { buildDepends = [ pkgs.libpcap ]; -- cgit 1.4.1