Skip to content

Commit 1258709

Browse files
committed
combine
1 parent 89c3417 commit 1258709

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

builder/comp-builder.nix

+3-3
Original file line numberDiff line numberDiff 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

modules/plan.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ let
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;

0 commit comments

Comments
 (0)