Comments (12)
@samuela In my experience, This extension never finishes applying the environment from a flake, even if it has already been invoked before and the related stuff has been cached.
from nix-env-selector.
@ShamrockLee I am now encountering this issue when using flakes as well. nix devlop
runs instantaneously but I'm stuck in "Applying environment..." limbo when using nix-env-selector
from nix-env-selector.
See also #59
from nix-env-selector.
Same issue here.
from nix-env-selector.
How long does it take to enter the nix-shell
from the command line? Sometimes activating a shell.nix requires downloading/building a bunch of stuff and I don't think nix-env-selector has a ui to show this. It just looks like it's taking a really really long time to load.
If nix-shell
in the command line runs almost instantaneously but nix-env-selector takes a while than that sounds more like a bug to me.
from nix-env-selector.
@samuela do you get this error when using shell.nix
as well, or only with flake.nix
?
from nix-env-selector.
@samuela do you get this error when using shell.nix as well, or only with flake.nix?
I previously saw this issue when using shell.nix
, but it's possible those issues have now been fixed. I continue to see this issue with flake.nix
.
from nix-env-selector.
Thanks. For anyone else who runs into this and can't find a solution I was able to get the direnv
vscode plugin working nicely.
from nix-env-selector.
I'm having this issue in 1.0.9.
@aanderse How were you able to get the direnv
vscode plugin working nicely for this?
from nix-env-selector.
@aryairani what troubles are you having with the direnv
plugin? Maybe we should discuss that on their issue tracker instead of here.
from nix-env-selector.
Hi @aanderse
I didn't try it or have troubles, I was just asking to clarify the workaround you mentioned in your earlier message.
from nix-env-selector.
Ah, understood. Simply install the plugin, following instructions, create a .envrc
file in your project, then your nix
environment is loaded by vscode
. Nice and simple.
from nix-env-selector.
Related Issues (20)
- Have the extension output logs in the Output window HOT 4
- Can't make my fhs env work HOT 1
- shell.nix exetubables don't seem to be made available after selecting shell.nix HOT 1
- [Feature]: Support shell.nix files outside of the project directory
- [BUG] Extension don't add package to PATH variable, when some active tabs need any package from shell.nix HOT 4
- "command 'nixEnvSelector.selectEnv' not found" HOT 1
- [Feature]: Support multiroot workspace HOT 2
- C/C++ Support: Can this be used to help generate the c_cpp_properties.json configuration file?
- [Documentation]: Document what `Hit environment` means
- [Feature]: Remember nix environment answer
- [Feature]: VSCode-Remote (SSH) support? HOT 6
- No longer applies shell.nix to integrated terminal? HOT 2
- Extension Development Host does not launch
- Can find packages from nix-shell, but not with nix-env-selector HOT 3
- TypeError when applying nix environment in Remote SSH HOT 3
- [Feature]: VSCodium support HOT 1
- Latest Pylance update brakes python environment HOT 1
- nix-env-selector does not work with flakes HOT 7
- rust-analyzer can't detect environment variables HOT 1
- Remote/SSH developement with flakes not working HOT 1
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 nix-env-selector.