Skip to content

Commit 2a5e699

Browse files
committed
Add lld to shell-for when using lld for ghc
1 parent f32ba7e commit 2a5e699

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builder/shell-for.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ in
124124
++ nativeBuildInputs
125125
++ mkDrvArgs.nativeBuildInputs or []
126126
++ lib.attrValues (buildPackages.haskell-nix.tools compiler.nix-name tools)
127+
++ (lib.optional (ghc.useLdLld or false) llvmPackages.bintools)
127128
# If this shell is a cross compilation shell include
128129
# wrapper script for running cabal build with appropriate args.
129130
++ lib.optional (ghcEnv.targetPrefix != "") (

0 commit comments

Comments
 (0)