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

Package request: pnpm #122135

Closed
ivan opened this issue May 8, 2021 · 4 comments
Closed

Package request: pnpm #122135

ivan opened this issue May 8, 2021 · 4 comments

Comments

@ivan
Copy link
Member

ivan commented May 8, 2021

Project description

A package manager for the node ecosystem, like npm or yarn.

nodePackages.pnpm already exists, so I am just requesting the top-level package that puts a pnpm in PATH.

Metadata

@06kellyjac
Copy link
Member

nodePackages.pnpm does put it in PATH

λ pnpm -v
zsh: command not found: pnpm
λ cat ./shell.nix
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
  buildInputs = with pkgs; [ nodejs-slim-16_x nodePackages.pnpm ];
}
λ nix-shell --pure

[nix-shell:~/sample]$ node -v
v16.0.0

[nix-shell:~/sample]$ npm -v
npm: command not found

[nix-shell:~/sample]$ pnpm -v
6.2.1

@ivan
Copy link
Member Author

ivan commented May 15, 2021

Oh, thank you, I was testing nix-env -iA nodePackages_latest.pnpm which does not put in PATH, but I see nix-env -iA nodePackages.pnpm does.

@06kellyjac
Copy link
Member

Hmm, thats interesting I might look into that.

Anyways, if you could close this issue thatd be great :)

@ivan ivan closed this as completed May 15, 2021
@dbaynard
Copy link
Contributor

dbaynard commented Jun 28, 2022

The lack of a bin is #145432

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

4 participants