Skip to content

Commit 655b61b

Browse files
authored
[musl] explicitly build ghc-iserv-prof (#1898)
1 parent d199676 commit 655b61b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compiler/ghc/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,10 @@ stdenv.mkDerivation (rec {
684684
${hadrian}/bin/hadrian ${hadrianArgs} stage1:lib:terminfo
685685
'' + lib.optionalString (installStage1 && !haskell-nix.haskellLib.isCrossTarget) ''
686686
${hadrian}/bin/hadrian ${hadrianArgs} stage2:exe:iserv
687+
# I don't seem to be able to build _build/stage1/lib/bin/ghc-iserv-prof
688+
# by asking hadrian for this. The issue is likely that the profiling way
689+
# is probably missing from hadrian m(
690+
${hadrian}/bin/hadrian ${hadrianArgs} _build/stage1/lib/bin/ghc-iserv-prof
687691
pushd _build/stage1/bin
688692
for exe in *; do
689693
mv $exe ${targetPrefix}$exe

0 commit comments

Comments
 (0)