File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -385,12 +385,12 @@ let
385
385
buildPhase = if stdenv . hostPlatform . isGhcjs then ''
386
386
runHook preBuild
387
387
# https://gitlab.haskell.org/ghc/ghc/issues/9221
388
- $SETUP_HS build ${ haskellLib . componentTarget componentId } ${ lib . concatStringsSep " " setupBuildFlags }
388
+ $SETUP_HS build ${ haskellLib . componentTarget componentId } ${ lib . concatStringsSep " " ( component . setupBuildFlags ++ setupBuildFlags ) }
389
389
runHook postBuild
390
390
'' else ''
391
391
runHook preBuild
392
392
# https://gitlab.haskell.org/ghc/ghc/issues/9221
393
- $SETUP_HS build ${ haskellLib . componentTarget componentId } -j$(($NIX_BUILD_CORES > 4 ? 4 : $NIX_BUILD_CORES)) ${ lib . concatStringsSep " " setupBuildFlags }
393
+ $SETUP_HS build ${ haskellLib . componentTarget componentId } -j$(($NIX_BUILD_CORES > 4 ? 4 : $NIX_BUILD_CORES)) ${ lib . concatStringsSep " " ( component . setupBuildFlags ++ setupBuildFlags ) }
394
394
runHook postBuild
395
395
''
396
396
;
Original file line number Diff line number Diff line change 245
245
default = def . ghcOptions or [ ] ;
246
246
} ;
247
247
planned = mkOption {
248
- description = "Set to true by `plan-to-nix` for any component that was included in the `plan.json` file." ;
248
+ description = "Set to true by `plan-to-nix` for any component that was included in the `plan.json` file." ;
249
249
# This is here so that (rather than in componentOptions) so it can be set project wide for stack projects
250
250
type = bool ;
251
251
default = def . planned or false ;
You can’t perform that action at this time.
0 commit comments