Comments (10)
We don’t support that yet, but it’s a good feature request.
We deprecated lorri shell
and are focusing on direnv
(which does the environment setup), so I guess you’d have to integrate it with direnv
, or clean the environment at the beginning of your .envrc
.
from lorri.
I’d tentatively close this for now and recommend that one just runs nix-shell --pure
manually if that’s a required use-case.
from lorri.
are there any particular reason why this should be closed? Is it because it would be difficult to implement or is it because its trivial to "clean the environment at the beginning of your .envrc
"? If the latter then maybe that should be documented in then Readme? Personally I'd love to be able to use lorr's features with a pure shell sometimes.
from lorri.
Personally I'd love to be able to use lorr's features with a pure shell sometimes.
What’s your exact use-case there? Mostly to unset everything in the environment?
from lorri.
I’d tentatively close this for now and recommend that one just runs
nix-shell --pure
manually if that’s a required use-case.
But what about re-usage cached shell in way that lorri
does?
Is it possible to re-use same shell like lorri
currently does -- in editor, and in --pure
way, but without re-calculation on each access -- in the terminal, as work shell itself?
from lorri.
@curiousleo can we do that with the revived lorri shell
?
from lorri.
lorri shell
does not currently support --pure
. I'm not sure at the moment how difficult it would be to add it.
from lorri.
This would be really nice. I try to keep a clean dev environment and an option for running with nix-shell --pure automatically would help.
from lorri.
I'm not sure at the moment how difficult it would be to add it.
Pretty sure it’s just cleaning out the environment before loading the bash --rcfile
as described by
Lines 28 to 36 in 200f4a2
from lorri.
For what it's worth, my use case is reproducible scientific research. Means I'd like to keep the development environments for certain projects hermetic.
from lorri.
Related Issues (20)
- lorri clobbers nix-shell environment
- Show and update lorri daemon status in shell
- No documentation about runtime garbage collection
- Lorri does not use bashInteractive like nix-shell
- Lorri misbehaves when the shell has `disallowedReferences`
- `lorri direnv` extremely slow with a large number of env vars
- shellHook fails when sourcing bash completions HOT 1
- lorri Crash Report
- lorri Crash Report HOT 1
- Start lorry from Emacs HOT 1
- Bash completions fail because XDG_DATA_DIRS is reset HOT 1
- lorri Crash Report HOT 1
- lorri + direnv reloads environment after every command HOT 1
- Lorri doesn't build on unstable HOT 2
- lorri internal stream-events does nothing
- Lorri fails to setup FHS user environment HOT 3
- Lorri incorrectly prepend NODE_PATH instead of overwriting
- Breaks kde-open5/xdg-open HOT 2
- MAINTENANCE NOTICE HOT 1
- lorri Crash Report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lorri.