haskell.compiler.ghcHEAD: fix hadrianFlagsArray handling

This commit is contained in:
sternenseemann 2023-02-20 12:24:52 +01:00
parent 471b9cab41
commit 23dc76fd22

View File

@ -426,10 +426,10 @@ stdenv.mkDerivation ({
runHook preBuild
# hadrianFlagsArray is created in preConfigure
echo "hadrianFlags: $hadrianFlags ''${hadrianFlagsArray}"
echo "hadrianFlags: $hadrianFlags ''${hadrianFlagsArray[@]}"
# We need to go via the bindist for installing
hadrian $hadrianFlags "''${hadrianFlagsArray}" binary-dist-dir
hadrian $hadrianFlags "''${hadrianFlagsArray[@]}" binary-dist-dir
runHook postBuild
'';