|
111 | 111 |
|
112 | 112 | let
|
113 | 113 |
|
114 |
| - getDefaultGHC = "ghc${ |
115 |
| - ( |
116 |
| - # Remove '.' from the string 8.8.4 -> 884 |
117 |
| - pkgs.lib.stringAsChars (c: if c == "." then "" else c) |
118 |
| - # Get default GHC version, |
119 |
| - (pkgs.lib.getVersion pkgs.haskellPackages.ghc) |
120 |
| - ) |
121 |
| - }"; |
122 |
| - |
123 |
| - compilerPackage = |
124 |
| - if ((compiler == "") || (compiler == "default")) |
125 |
| - then getDefaultGHC |
126 |
| - else compiler; |
| 114 | + getDefaultGHC = "ghc${ |
| 115 | + ( |
| 116 | + # Remove '.' from the string 8.8.4 -> 884 |
| 117 | + pkgs.lib.stringAsChars (c: if c == "." then "" else c) |
| 118 | + # Get default GHC version, |
| 119 | + (pkgs.lib.getVersion pkgs.haskellPackages.ghc) |
| 120 | + ) |
| 121 | + }"; |
| 122 | + |
| 123 | + compilerPackage = |
| 124 | + if ((compiler == "") || (compiler == "default")) |
| 125 | + then getDefaultGHC |
| 126 | + else compiler; |
127 | 127 |
|
128 | 128 | # 2020-12-31: NOTE: Remove after `hnix-store 0.4` arrives into Nixpkgs
|
129 | 129 | hnix-store-src = pkgs.fetchFromGitHub {
|
@@ -226,13 +226,14 @@ let
|
226 | 226 | # 2020-12-07 We really want cryptohash-sha512, but it conflicts with
|
227 | 227 | # recent versions of base, for seemingly no valid reason.
|
228 | 228 | # As the update is slow to happen, just jailbreak here
|
229 |
| - # See https://github.com/haskell-hvr/cryptohash-sha512/pull/3 |
230 |
| - # and https://github.com/haskell-hvr/cryptohash-sha512/pull/5 |
| 229 | + # See https://github.com/haskell-hvr/cryptohash-sha512 PRs 3, 5 and issue 4 |
| 230 | + # See also https://github.com/NixOS/nixpkgs/pull/106333 for a temporary fix. |
231 | 231 | cryptohash-sha512 = pkgs.haskell.lib.unmarkBroken ( pkgs.haskell.lib.doJailbreak super.cryptohash-sha512 );
|
232 | 232 |
|
233 | 233 | # 2020-12-07 hnix-store-remote fails when trying to connect to a real hnix daemon.
|
234 | 234 | # probably due to nix sandbox restrictions.
|
235 |
| - hnix-store-remote = pkgs.haskell.lib.dontCheck super.hnix-store-remote; |
| 235 | + # Upstream issue @ https://github.com/haskell-nix/hnix-store/issues/80 |
| 236 | + hnix-store-remote = pkgs.haskell.lib.removeConfigureFlag super.hnix-store-remote "-fio-testsuite"; |
236 | 237 |
|
237 | 238 | # 2020-08-04 hnix uses custom LayoutOptions and therefore is
|
238 | 239 | # likely to be affected by the change in the ribbon width
|
|
0 commit comments