diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-06-05 01:05:49 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-06-05 01:05:49 +0200 |
commit | e6cf0980db2a901aa9ba116e3d5ec00c6929e232 (patch) | |
tree | 7701f378768b6662284b69c426864aba7ef14254 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 9a0592e6829229406c8b9d283ecbd678c46fe79c (diff) | |
download | nixpkgs-e6cf0980db2a901aa9ba116e3d5ec00c6929e232.tar nixpkgs-e6cf0980db2a901aa9ba116e3d5ec00c6929e232.tar.gz nixpkgs-e6cf0980db2a901aa9ba116e3d5ec00c6929e232.tar.bz2 nixpkgs-e6cf0980db2a901aa9ba116e3d5ec00c6929e232.tar.lz nixpkgs-e6cf0980db2a901aa9ba116e3d5ec00c6929e232.tar.xz nixpkgs-e6cf0980db2a901aa9ba116e3d5ec00c6929e232.tar.zst nixpkgs-e6cf0980db2a901aa9ba116e3d5ec00c6929e232.zip |
haskellPackages.diagrams-lib: pin to < 1.4.4
While diagrams-lib 1.4.4 doesn't per se require us to update any diagrams lib to 1.5.0 it would require monoid-extras 0.6 which would force us to update diagrams-core to 1.5.0, thus breaking haskellPackages.diagrams. Since we can just keep the patch we fetch and downgrade to 1.4.3, we can continue sitting out the slow update cycle of the diagrams universe.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index d4a51216dc6..f0c275c32fc 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -715,6 +715,8 @@ self: super: { diagrams-svg = doJailbreak super.diagrams-svg; diagrams-contrib = doJailbreak super.diagrams-contrib; # Apply patch from master to add compat with optparse-applicative >= 0.16. + # We unfortunately can't upgrade to 1.4.4 which includes this patch yet + # since it would require monoid-extras 0.6 which breaks other diagrams libs. diagrams-lib = doJailbreak (appendPatch super.diagrams-lib (pkgs.fetchpatch { url = "https://github.com/diagrams/diagrams-lib/commit/4b9842c3e3d653be69af19778970337775e2404d.patch"; |