diff options
author | Naïm Favier <n@monade.li> | 2022-03-16 02:06:15 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-03-16 02:10:08 +0100 |
commit | 0ba189f2d7ba8f6c225fbea2a6b4ba2e037a70b7 (patch) | |
tree | 1f2ea714368e4094a75c30108c65c1483ed0596e /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix | |
parent | bb72482cc3eb6f6604641a246ce26bc8c3dff627 (diff) | |
download | nixlib-0ba189f2d7ba8f6c225fbea2a6b4ba2e037a70b7.tar nixlib-0ba189f2d7ba8f6c225fbea2a6b4ba2e037a70b7.tar.gz nixlib-0ba189f2d7ba8f6c225fbea2a6b4ba2e037a70b7.tar.bz2 nixlib-0ba189f2d7ba8f6c225fbea2a6b4ba2e037a70b7.tar.lz nixlib-0ba189f2d7ba8f6c225fbea2a6b4ba2e037a70b7.tar.xz nixlib-0ba189f2d7ba8f6c225fbea2a6b4ba2e037a70b7.tar.zst nixlib-0ba189f2d7ba8f6c225fbea2a6b4ba2e037a70b7.zip |
haskellPackages.knob: add patch for GHC 9 support
Patch sent to upstream via email, but the package hasn't been updated in ten years. Changes: - IO.seek should now return the new offset so I used modifyMVar instead of modifyMVar_ - mkFileHandle now requires a RawIO instance for Device. Since this was not the case before and I don't think we need to actually support raw IO, I used DeriveAnyClass.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index f36c77d636a7..5912b67e5ae0 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -47,6 +47,8 @@ self: super: { Cabal = self.Cabal_3_6_3_0; }); + knob = appendPatch ./patches/knob-ghc9.patch super.knob; + # Jailbreaks & Version Updates # This `doJailbreak` can be removed once the following PR is released to Hackage: |