Skip to content

Commit 8471799

Browse files
hamishmackangerman
andauthored
Add +debug to hadrian flavour (#1892)
Co-authored-by: Moritz Angermann <[email protected]>
1 parent 649827b commit 8471799

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

compiler/ghc/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ let
260260
(if targetPlatform.isGhcjs then "quick" else "default")
261261
+ lib.optionalString (!enableShared) "+no_dynamic_ghc"
262262
+ lib.optionalString useLLVM "+llvm"
263+
+ lib.optionalString enableDWARF "+debug_info"
263264
+ lib.optionalString targetPlatform.isGhcjs "+native_bignum+no_profiled_libs"
264265
} --docs=no-sphinx -j --verbose";
265266

test/cabal-simple-debug/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let
2020
in recurseIntoAttrs {
2121
# DWARF only works on linux with GHC 8.10.2 and newer
2222
# GHC 9.2.1 disabled because of https://github.com/input-output-hk/haskell.nix/issues/1332
23-
meta.disabled = __elem compiler-nix-name ["ghc865" "ghc884" "ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926" "ghc927" "ghc941" "ghc942" "ghc943" "ghc944"]
23+
meta.disabled = __elem compiler-nix-name ["ghc865" "ghc884" "ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926" "ghc927"]
2424
|| !stdenv.hostPlatform.isLinux || haskellLib.isCrossHost || stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isAarch64;
2525
ifdInputs = {
2626
inherit (project) plan-nix;

0 commit comments

Comments
 (0)