File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -437,17 +437,17 @@ let
437437 # See also https://gitlab.haskell.org/ghc/ghc/-/issues/12935
438438 ( if contentAddressed then ''
439439 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 ) }
441441 runHook postBuild
442442 '' else if stdenv . hostPlatform . isGhcjs then ''
443443 runHook preBuild
444444 # 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 ) }
446446 runHook postBuild
447447 '' else ''
448448 runHook preBuild
449449 # 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 ) }
451451 runHook postBuild
452452 '' ) ;
453453
Original file line number Diff line number Diff line change 253253 '' ;
254254 } ;
255255 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." ;
257257 # This is here so that (rather than in componentOptions) so it can be set project wide for stack projects
258258 type = bool ;
259259 default = def . planned or false ;
You can’t perform that action at this time.
0 commit comments