Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
savil committed Jun 9, 2023
1 parent 5b58a33 commit a3312f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/impl/devbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -850,12 +850,14 @@ func (d *Devbox) computeNixEnv(ctx context.Context, usePrintDevEnvCache bool) (m
// input is of the form: /nix/store/<hash>-<package-name>-<version>
// path is of the form: /nix/store/<hash>-<package-name>-<version>/bin
if strings.HasPrefix(path, input) {
debug.Log("returning false for path %s and input %s\n", path, input)
return false
}
}
return true
})
debug.Log("PATH after filtering with buildInputs (%v) is: %s", buildInputs, nixEnvPath)
//fmt.Printf("PATH after filtering with buildInputs (%v) is: %s\n", buildInputs, nixEnvPath)

env["PATH"] = JoinPathLists(nixEnvPath, originalPath)
debug.Log("computed environment PATH is: %s", env["PATH"])
Expand Down

0 comments on commit a3312f6

Please sign in to comment.