diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-01-26 16:32:22 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2020-01-31 21:05:55 +0100 |
commit | 41416193316f3a8c887e983ca4bf17ac218481b6 (patch) | |
tree | fada66ad0935290bad7860a0691b040aaff2cb5e /pkgs/development/haskell-modules | |
parent | 3430ded6c8060b60754753717020ae3a5b3f1a2c (diff) | |
download | nixlib-41416193316f3a8c887e983ca4bf17ac218481b6.tar nixlib-41416193316f3a8c887e983ca4bf17ac218481b6.tar.gz nixlib-41416193316f3a8c887e983ca4bf17ac218481b6.tar.bz2 nixlib-41416193316f3a8c887e983ca4bf17ac218481b6.tar.lz nixlib-41416193316f3a8c887e983ca4bf17ac218481b6.tar.xz nixlib-41416193316f3a8c887e983ca4bf17ac218481b6.tar.zst nixlib-41416193316f3a8c887e983ca4bf17ac218481b6.zip |
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.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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 ]; |