File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -437,17 +437,17 @@ let
437
437
# See also https://gitlab.haskell.org/ghc/ghc/-/issues/12935
438
438
( if contentAddressed then ''
439
439
runHook preBuild
440
- $SETUP_HS build ${ haskellLib . componentTarget componentId } -j1 ${ lib . concatStringsSep " " setupBuildFlags }
440
+ $SETUP_HS build ${ haskellLib . componentTarget componentId } -j1 ${ lib . concatStringsSep " " ( component . setupBuildFlags ++ setupBuildFlags ) }
441
441
runHook postBuild
442
442
'' else if stdenv . hostPlatform . isGhcjs then ''
443
443
runHook preBuild
444
444
# https://gitlab.haskell.org/ghc/ghc/issues/9221
445
- $SETUP_HS build ${ haskellLib . componentTarget componentId } ${ lib . concatStringsSep " " setupBuildFlags }
445
+ $SETUP_HS build ${ haskellLib . componentTarget componentId } ${ lib . concatStringsSep " " ( component . setupBuildFlags ++ setupBuildFlags ) }
446
446
runHook postBuild
447
447
'' else ''
448
448
runHook preBuild
449
449
# https://gitlab.haskell.org/ghc/ghc/issues/9221
450
- $SETUP_HS build ${ haskellLib . componentTarget componentId } -j$(($NIX_BUILD_CORES > 4 ? 4 : $NIX_BUILD_CORES)) ${ lib . concatStringsSep " " setupBuildFlags }
450
+ $SETUP_HS build ${ haskellLib . componentTarget componentId } -j$(($NIX_BUILD_CORES > 4 ? 4 : $NIX_BUILD_CORES)) ${ lib . concatStringsSep " " ( component . setupBuildFlags ++ setupBuildFlags ) }
451
451
runHook postBuild
452
452
'' ) ;
453
453
Original file line number Diff line number Diff line change 253
253
'' ;
254
254
} ;
255
255
planned = mkOption {
256
- description = "Set to true by `plan-to-nix` for any component that was included in the `plan.json` file." ;
256
+ description = "Set to true by `plan-to-nix` for any component that was included in the `plan.json` file." ;
257
257
# This is here so that (rather than in componentOptions) so it can be set project wide for stack projects
258
258
type = bool ;
259
259
default = def . planned or false ;
You can’t perform that action at this time.
0 commit comments