about summary refs log tree commit diff
path: root/tvix/glue/src/builtins/mod.rs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-20T11·30+0700
committerclbot <clbot@tvl.fyi>2024-02-20T12·13+0000
commite839116e5c583a82d145e5dca336964e6569d487 (patch)
tree1686b375620f1c9f59afa6ebfae0f1c8bf1f947c /tvix/glue/src/builtins/mod.rs
parentf40ff1737e829fb98a01951794eb1f3624cd3cad (diff)
fix(tvix/eval): make path resolution work by default in impure mode r/7574
The previous behaviour (enabling `import`, but not allowing e.g.
`<nixpkgs/lib>` to resolve) was very confusing.

Now imports from NIX_PATH become enabled by default, unless the user
already overrode that behaviour with something else by setting
`Evaluation::nix_path` manually.

Change-Id: Iad970beb633d9887be4b185b01e6f5858d81bea3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10993
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/glue/src/builtins/mod.rs')
0 files changed, 0 insertions, 0 deletions