Skip to content

Commit 26157e0

Browse files
committed
Fix buildModules and buildProject (to be like pkgsBuildBuild)
1 parent 63e2f7f commit 26157e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

overlays/haskell.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ final: prev: {
659659
inherit (callProjectResults) projectNix sourceRepos src;
660660
};
661661
buildProject = if final.stdenv.hostPlatform != final.stdenv.buildPlatform
662-
then final.buildPackages.haskell-nix.cabalProject' projectModule
662+
then final.pkgsBuildBuild.haskell-nix.cabalProject' projectModule
663663
else project;
664664
pkg-set = if plan-pkgs ? configurationError
665665
then {
@@ -937,7 +937,7 @@ final: prev: {
937937
cache = if config.cache != null then config.cache else generatedCache;
938938
in let
939939
buildProject = if final.stdenv.hostPlatform != final.stdenv.buildPlatform
940-
then final.buildPackages.haskell-nix.stackProject' projectModule
940+
then final.pkgsBuildBuild.haskell-nix.stackProject' projectModule
941941
else project;
942942
pkg-set = mkStackPkgSet
943943
{ stack-pkgs = importAndFilterProject callProjectResults;

0 commit comments

Comments
 (0)