diff options
author | Mike Sperber <sperber@deinprogramm.de> | 2020-03-30 10:25:23 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2020-04-03 22:00:27 +0200 |
commit | 1640e66e4841be3c1b9cd84c190495f88ff9cf3f (patch) | |
tree | 12108d6650b3714c80da3e5d7d6b247dd5b6ce04 /pkgs/development | |
parent | 88c70b16b5355270f4b1e5b25fb637466b790da6 (diff) | |
download | nixlib-1640e66e4841be3c1b9cd84c190495f88ff9cf3f.tar nixlib-1640e66e4841be3c1b9cd84c190495f88ff9cf3f.tar.gz nixlib-1640e66e4841be3c1b9cd84c190495f88ff9cf3f.tar.bz2 nixlib-1640e66e4841be3c1b9cd84c190495f88ff9cf3f.tar.lz nixlib-1640e66e4841be3c1b9cd84c190495f88ff9cf3f.tar.xz nixlib-1640e66e4841be3c1b9cd84c190495f88ff9cf3f.tar.zst nixlib-1640e66e4841be3c1b9cd84c190495f88ff9cf3f.zip |
polysemy-plugin: fix build
It needs an older version of ghc-tcplugins-extra.
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 8 | ||||
-rw-r--r-- | pkgs/development/haskell-modules/configuration-hackage2nix.yaml | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index da2421d05ab3..eb92364760fb 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1489,4 +1489,12 @@ self: super: { # Needs a version that's newer than LTS-15.x provides. weeder = super.weeder.override { generic-lens = self.generic-lens_2_0_0_0; }; + polysemy-plugin = super.polysemy-plugin.override { + # polysemy-plugin 0.2.5.0 has constraint ghc-tcplugins-extra (==0.3.*) + # This upstream issue is relevant: + # https://github.com/polysemy-research/polysemy/issues/322 + ghc-tcplugins-extra = self.ghc-tcplugins-extra_0_3_2; + # version of Polysemy the plugin goes with + polysemy = self.polysemy_1_3_0_0; + }; } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index 8c510d011244..e9a3643e12f5 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -8346,7 +8346,6 @@ broken-packages: - polydata - polydata-core - polynomial - - polysemy-plugin - polysemy-RandomFu - polysemy-zoo - polyseq |