Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nushell Integration #542

Open
rwjblue opened this issue Aug 30, 2019 · 1 comment
Open

Nushell Integration #542

rwjblue opened this issue Aug 30, 2019 · 1 comment

Comments

@rwjblue
Copy link
Contributor

rwjblue commented Aug 30, 2019

Would be great to start working on nushell integration.

Here is a great intro blog post about nushell:

https://www.jonathanturner.org/2019/08/introducing-nushell.html

@AdrienLemaire
Copy link

Since it took some time to figure this out, sharing my solution:

  1. add volta to systemPackages and install nix-ld
{ inputs, config, pkgs, ... }:
{
  environment.systemPackages = with pkgs; [
    volta
  ];

  # Necessary to use volta-installed node
  programs.nix-ld.enable = true;
}
  1. add volta to $PATH by running config env
$env.PATH = ($env.PATH | split row (char esep) | prepend '~/.volta/bin')
  1. use volta as intended
$ volta install node
$ node --version
v22.12.0

related issue: NixOS/nixpkgs#242338

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants