-
Notifications
You must be signed in to change notification settings - Fork 2.1k
NU_LIB_DIRS environment variable no longer working #8870
Copy link
Copy link
Closed
Labels
A:parserIssues related to parsingIssues related to parsingcategory:bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Setting let-env NU_LIB_DIRS inside env.nu has no effect. Only const NU_LIB_DIRS works.
How to reproduce
- Inside
env.nu: Setlet-env NU_LIB_DIRS = [ ($nu.config-path | path dirname | path join 'scripts') ] const NU_LIB_DIRSis not set anywhere- Put a file (
script.nu) to the scripts folder source script.nuinsideconfig.nu- Error: File not found
Expected behavior
Should work the same as before.
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.78.1 |
| branch | main |
| commit_hash | 99c0a25 |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.66.1 (90743e729 2023-01-10) |
| rust_channel | 1.66.1-x86_64-unknown-linux-gnu |
| cargo_version | cargo 1.66.1 (ad779e08b 2023-01-10) |
| build_time | 2023-04-13 00:14:22 +03:00 |
| build_rust_channel | release |
| features | default, zip |
| installed_plugins | from eml, from ics, from ini, from vcf, gstat, inc, query, query json, query web, query xml |
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:parserIssues related to parsingIssues related to parsingcategory:bugSomething isn't workingSomething isn't working