Giter VIP home page Giter VIP logo

Comments (12)

ShamrockLee avatar ShamrockLee commented on July 30, 2024 9

@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.

samuela avatar samuela commented on July 30, 2024 3

@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.

samuela avatar samuela commented on July 30, 2024 1

See also #59

from nix-env-selector.

ShamrockLee avatar ShamrockLee commented on July 30, 2024

Same issue here.

from nix-env-selector.

samuela avatar samuela commented on July 30, 2024

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.

aanderse avatar aanderse commented on July 30, 2024

@samuela do you get this error when using shell.nix as well, or only with flake.nix?

from nix-env-selector.

samuela avatar samuela commented on July 30, 2024

@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.

aanderse avatar aanderse commented on July 30, 2024

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.

aryairani avatar aryairani commented on July 30, 2024

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.

aanderse avatar aanderse commented on July 30, 2024

@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.

aryairani avatar aryairani commented on July 30, 2024

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.

aanderse avatar aanderse commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.