Skip to content

Commit ddc654e

Browse files
committed
combine
1 parent 9abc0ec commit ddc654e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

builder/comp-builder.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,12 +385,12 @@ let
385385
buildPhase = if stdenv.hostPlatform.isGhcjs then ''
386386
runHook preBuild
387387
# 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)}
389389
runHook postBuild
390390
'' else ''
391391
runHook preBuild
392392
# 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)}
394394
runHook postBuild
395395
''
396396
;

modules/plan.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ let
245245
default = def.ghcOptions or [];
246246
};
247247
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.";
249249
# This is here so that (rather than in componentOptions) so it can be set project wide for stack projects
250250
type = bool;
251251
default = def.planned or false;

0 commit comments

Comments
 (0)