File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -646,10 +646,10 @@ export class Ghjkfile {
646646 prov ,
647647 ) ;
648648 } ) ,
649- ...base . posixDirs ,
650649 ...final . posixDirs ,
651- ...base . dynamicPosixDirs ,
650+ ...base . posixDirs ,
652651 ...final . dynamicPosixDirs ,
652+ ...base . dynamicPosixDirs ,
653653 // env hooks
654654 ...hooks ,
655655 ] ,
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export async function cookPosixEnv(
2222 } ,
2323) {
2424 logger . debug ( "cooking env" , envKey , { envDir } ) ;
25+ logger . debug ( "recipe" , recipe ) ;
2526 const reducedRecipe = await reduceStrangeProvisions ( gcx , recipe ) ;
2627 await $ . removeIfExists ( envDir ) ;
2728 // create the shims for the user's environment
Original file line number Diff line number Diff line change 11import { unwrapZodRes } from "../../port.ts" ;
2+ import logger from "../../utils/logger.ts" ;
23import { execTask } from "../tasks/exec.ts" ;
34import { getTasksCtx } from "../tasks/inter.ts" ;
45import type { GhjkCtx } from "../types.ts" ;
@@ -66,6 +67,7 @@ export async function reduceStrangeProvisions(
6667 const reducerStore = getProvisionReducerStore ( gcx ) ;
6768 // Replace by `Object.groupBy` once the types for it are fixed
6869 const bins = { } as Record < string , Provision [ ] > ;
70+ logger ( import . meta) . debug ( "provides" , env . provides ) ;
6971 for ( const item of env . provides ) {
7072 let bin = bins [ item . ty ] ;
7173 if ( ! bin ) {
You can’t perform that action at this time.
0 commit comments