···226226 sha256 = "0r4zjj0bv1x1m2dgxp3adsf2xkr94fjnyj1igsivd9ilbs5ja0b5";
227227 })
228228 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
229229-230229 # Prevent the paths module from emitting symbols that we don't use
231230 # when building with separate outputs.
232231 #
233232 # These cause problems as they're not eliminated by GHC's dead code
234233 # elimination on aarch64-darwin. (see
235234 # https://github.com/NixOS/nixpkgs/issues/140774 for details).
236236- ./cabal-paths.patch
235235+ ./Cabal-3.2-3.4-paths-fix-cycle-aarch64-darwin.patch
237236 ];
238237239238 postPatch = "patchShebangs .";
+1-2
pkgs/development/compilers/ghc/9.0.2.nix
···205205 sha256 = "sha256-b4feGZIaKDj/UKjWTNY6/jH4s2iate0wAgMxG3rAbZI=";
206206 })
207207 ] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
208208-209208 # Prevent the paths module from emitting symbols that we don't use
210209 # when building with separate outputs.
211210 #
212211 # These cause problems as they're not eliminated by GHC's dead code
213212 # elimination on aarch64-darwin. (see
214213 # https://github.com/NixOS/nixpkgs/issues/140774 for details).
215215- ./cabal-paths.patch
214214+ ./Cabal-3.2-3.4-paths-fix-cycle-aarch64-darwin.patch
216215 ];
217216218217 postPatch = "patchShebangs .";