File tree Expand file tree Collapse file tree 10 files changed +37
-5
lines changed
pkgs/development/compilers/ghc Expand file tree Collapse file tree 10 files changed +37
-5
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ stdenv.mkDerivation (rec {
216216 # These cause problems as they're not eliminated by GHC's dead code
217217 # elimination on aarch64-darwin. (see
218218 # https://github.com/NixOS/nixpkgs/issues/140774 for details).
219- ./Cabal-3.6-paths-fix-cycle-aarch64-darwin.patch
219+ ./Cabal-3.6-3.8- paths-fix-cycle-aarch64-darwin.patch
220220 ] ;
221221
222222 postPatch = "patchShebangs ." ;
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ stdenv.mkDerivation (rec {
216216 # These cause problems as they're not eliminated by GHC's dead code
217217 # elimination on aarch64-darwin. (see
218218 # https://github.com/NixOS/nixpkgs/issues/140774 for details).
219- ./Cabal-3.6-paths-fix-cycle-aarch64-darwin.patch
219+ ./Cabal-3.6-3.8- paths-fix-cycle-aarch64-darwin.patch
220220 ] ;
221221
222222 postPatch = "patchShebangs ." ;
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ stdenv.mkDerivation (rec {
216216 # These cause problems as they're not eliminated by GHC's dead code
217217 # elimination on aarch64-darwin. (see
218218 # https://github.com/NixOS/nixpkgs/issues/140774 for details).
219- ./Cabal-3.6-paths-fix-cycle-aarch64-darwin.patch
219+ ./Cabal-3.6-3.8- paths-fix-cycle-aarch64-darwin.patch
220220 ] ;
221221
222222 postPatch = "patchShebangs ." ;
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ stdenv.mkDerivation (rec {
216216 # These cause problems as they're not eliminated by GHC's dead code
217217 # elimination on aarch64-darwin. (see
218218 # https://github.com/NixOS/nixpkgs/issues/140774 for details).
219- ./Cabal-3.6-paths-fix-cycle-aarch64-darwin.patch
219+ ./Cabal-3.6-3.8- paths-fix-cycle-aarch64-darwin.patch
220220 ] ;
221221
222222 postPatch = "patchShebangs ." ;
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ stdenv.mkDerivation (rec {
216216 # These cause problems as they're not eliminated by GHC's dead code
217217 # elimination on aarch64-darwin. (see
218218 # https://github.com/NixOS/nixpkgs/issues/140774 for details).
219- ./Cabal-3.6-paths-fix-cycle-aarch64-darwin.patch
219+ ./Cabal-3.6-3.8- paths-fix-cycle-aarch64-darwin.patch
220220 ] ;
221221
222222 postPatch = "patchShebangs ." ;
Original file line number Diff line number Diff line change @@ -196,6 +196,14 @@ stdenv.mkDerivation (rec {
196196 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch" ;
197197 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv" ;
198198 } )
199+ ] ++ lib . optionals ( stdenv . targetPlatform . isDarwin && stdenv . targetPlatform . isAarch64 ) [
200+ # Prevent the paths module from emitting symbols that we don't use
201+ # when building with separate outputs.
202+ #
203+ # These cause problems as they're not eliminated by GHC's dead code
204+ # elimination on aarch64-darwin. (see
205+ # https://github.com/NixOS/nixpkgs/issues/140774 for details).
206+ ./Cabal-3.6-3.8-paths-fix-cycle-aarch64-darwin.patch
199207 ] ;
200208
201209 postPatch = "patchShebangs ." ;
Original file line number Diff line number Diff line change @@ -196,6 +196,14 @@ stdenv.mkDerivation (rec {
196196 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch" ;
197197 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv" ;
198198 } )
199+ ] ++ lib . optionals ( stdenv . targetPlatform . isDarwin && stdenv . targetPlatform . isAarch64 ) [
200+ # Prevent the paths module from emitting symbols that we don't use
201+ # when building with separate outputs.
202+ #
203+ # These cause problems as they're not eliminated by GHC's dead code
204+ # elimination on aarch64-darwin. (see
205+ # https://github.com/NixOS/nixpkgs/issues/140774 for details).
206+ ./Cabal-3.6-3.8-paths-fix-cycle-aarch64-darwin.patch
199207 ] ;
200208
201209 postPatch = "patchShebangs ." ;
Original file line number Diff line number Diff line change @@ -205,6 +205,14 @@ stdenv.mkDerivation (rec {
205205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch" ;
206206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv" ;
207207 } )
208+ ] ++ lib . optionals ( stdenv . targetPlatform . isDarwin && stdenv . targetPlatform . isAarch64 ) [
209+ # Prevent the paths module from emitting symbols that we don't use
210+ # when building with separate outputs.
211+ #
212+ # These cause problems as they're not eliminated by GHC's dead code
213+ # elimination on aarch64-darwin. (see
214+ # https://github.com/NixOS/nixpkgs/issues/140774 for details).
215+ ./Cabal-3.6-3.8-paths-fix-cycle-aarch64-darwin.patch
208216 ] ;
209217
210218 postPatch = "patchShebangs ." ;
Original file line number Diff line number Diff line change @@ -205,6 +205,14 @@ stdenv.mkDerivation (rec {
205205 url = "https://gitlab.haskell.org/ghc/ghc/-/commit/10e94a556b4f90769b7fd718b9790d58ae566600.patch" ;
206206 sha256 = "0kmhfamr16w8gch0lgln2912r8aryjky1hfcda3jkcwa5cdzgjdv" ;
207207 } )
208+ ] ++ lib . optionals ( stdenv . targetPlatform . isDarwin && stdenv . targetPlatform . isAarch64 ) [
209+ # Prevent the paths module from emitting symbols that we don't use
210+ # when building with separate outputs.
211+ #
212+ # These cause problems as they're not eliminated by GHC's dead code
213+ # elimination on aarch64-darwin. (see
214+ # https://github.com/NixOS/nixpkgs/issues/140774 for details).
215+ ./Cabal-3.6-3.8-paths-fix-cycle-aarch64-darwin.patch
208216 ] ;
209217
210218 postPatch = "patchShebangs ." ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments