@@ -567,9 +567,11 @@ final: prev: {
567 in let pkg-set = mkStackPkgSet
567 in let pkg-set = mkStackPkgSet
568 { stack-pkgs = importAndFilterProject callProjectResults;
568 { stack-pkgs = importAndFilterProject callProjectResults;
569 pkg-def-extras = (args.pkg-def-extras or []);
569 pkg-def-extras = (args.pkg-def-extras or []);
570− modules = final.lib.singleton (mkCacheModule cache)
570+ modules = final.lib.singleton (mkCacheModule cache)
571− ++ (args.modules or [])
571+ ++ (args.modules or [])
572− ++ final.lib.optional (args ? ghc) { ghc.package = args.ghc; };
572+ ++ final.lib.optional (args ? ghc) { ghc.package = args.ghc; }
573+ ++ final.lib.optional (args ? compiler-nix-name)
574+ { compiler.nix-name = final.lib.mkForce args.compiler-nix-name; };
575 project = addProjectAndPackageAttrs {
577 project = addProjectAndPackageAttrs {