Skip to content

Reading the os environment in boot.janet #695

Answered by bakpakin
jackhill asked this question in Q&A
Discussion options

You must be logged in to vote

The proposed patch looks pretty good to me. However, I think guix packages should go at the end of module/paths and not take precedence over local files. The paths are tried in order, so inserting them at the end would make more sense, or at least at the same position as the :sys: entries

> (each x module/paths (pp x))
(<function is-cached> :preload <function check-is-dep>)
(":cur:/:all:.jimage" :image <function check-relative>)
(":cur:/:all:.janet" :source <function check-relative>)
(":cur:/:all:/init.janet" :source <function check-relative>)
(":cur:/:all::native:" :native <function check-relative>)
# Insert new paths here
(":sys:/:all:.jimage" :image <function check-is-dep>)
(":sys:/:al…

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@andrewchambers
Comment options

@jackhill
Comment options

Comment options

You must be logged in to vote
2 replies
@jackhill
Comment options

@jackhill
Comment options

Answer selected by jackhill
Comment options

You must be logged in to vote
3 replies
@amano-kenji
Comment options

@omarbassam88
Comment options

@amano-kenji
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants