ghc: don’t use dwarf on windows
elfutils don’t work on windows https://hydra.nixos.org/eval/1541857#tabs-removed /cc @domenkozar
This commit is contained in:
parent
c1fae7ccc8
commit
2021578686
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
, libiconv ? null, ncurses
|
, libiconv ? null, ncurses
|
||||||
|
|
||||||
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
|
, enableDwarf ? !stdenv.targetPlatform.isDarwin &&
|
||||||
|
!stdenv.targetPlatform.isWindows, elfutils # for DWARF support
|
||||||
|
|
||||||
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
|
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
|
||||||
, # LLVM is conceptually a run-time-only depedendency, but for
|
, # LLVM is conceptually a run-time-only depedendency, but for
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
, libiconv ? null, ncurses
|
, libiconv ? null, ncurses
|
||||||
|
|
||||||
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
|
, enableDwarf ? !stdenv.targetPlatform.isDarwin &&
|
||||||
|
!stdenv.targetPlatform.isWindows, elfutils # for DWARF support
|
||||||
|
|
||||||
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
|
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
|
||||||
, # LLVM is conceptually a run-time-only depedendency, but for
|
, # LLVM is conceptually a run-time-only depedendency, but for
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
, libiconv ? null, ncurses
|
, libiconv ? null, ncurses
|
||||||
|
|
||||||
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
|
, enableDwarf ? !stdenv.targetPlatform.isDarwin &&
|
||||||
|
!stdenv.targetPlatform.isWindows, elfutils # for DWARF support
|
||||||
|
|
||||||
, # GHC can be built with system libffi or a bundled one.
|
, # GHC can be built with system libffi or a bundled one.
|
||||||
libffi ? null
|
libffi ? null
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
, libiconv ? null, ncurses
|
, libiconv ? null, ncurses
|
||||||
|
|
||||||
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
|
, enableDwarf ? !stdenv.targetPlatform.isDarwin &&
|
||||||
|
!stdenv.targetPlatform.isWindows, elfutils # for DWARF support
|
||||||
|
|
||||||
, # GHC can be built with system libffi or a bundled one.
|
, # GHC can be built with system libffi or a bundled one.
|
||||||
libffi ? null
|
libffi ? null
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
, libiconv ? null, ncurses
|
, libiconv ? null, ncurses
|
||||||
|
|
||||||
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
|
, enableDwarf ? !stdenv.targetPlatform.isDarwin &&
|
||||||
|
!stdenv.targetPlatform.isWindows, elfutils # for DWARF support
|
||||||
|
|
||||||
, # GHC can be built with system libffi or a bundled one.
|
, # GHC can be built with system libffi or a bundled one.
|
||||||
libffi ? null
|
libffi ? null
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
, libiconv ? null, ncurses
|
, libiconv ? null, ncurses
|
||||||
|
|
||||||
, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
|
, enableDwarf ? !stdenv.targetPlatform.isDarwin &&
|
||||||
|
!stdenv.targetPlatform.isWindows, elfutils # for DWARF support
|
||||||
|
|
||||||
, useLLVM ? !stdenv.targetPlatform.isx86
|
, useLLVM ? !stdenv.targetPlatform.isx86
|
||||||
, # LLVM is conceptually a run-time-only depedendency, but for
|
, # LLVM is conceptually a run-time-only depedendency, but for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user