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

Binaries provided by node packages are not available #154

Open
roosemberth opened this issue Jun 27, 2022 · 0 comments
Open

Binaries provided by node packages are not available #154

roosemberth opened this issue Jun 27, 2022 · 0 comments

Comments

@roosemberth
Copy link

Pulling a nixery shell image with nodepackages.mermaid-cli does not contain the mmdc executable. I haven't tested with other node packages, but my guess is that they'd have the same issue.

Actual behaviour: mmdc is not available:

 ~ docker run --rm -it nixery.dev/shell/nodepackages.mermaid-cli
bash-5.1# mmdc --version
bash: mmdc: command not found
bash-5.1# ls -laF /nix/store/*/lib/node_modules/.bin/mmdc
-r-xr-xr-x 1 0 0 310 Jan  1  1970 /nix/store/59c14wz6n6iyk82bmzx8rxzm4sb72xdm-_at_mermaid-js_slash_mermaid-cli-9.1.2/lib/node_modules/.bin/mmdc*
bash-5.1#

Expected behaviour: mmdc should be available, just like in nix shell:

 ~ mmdc --version
zsh: command not found: mmdc
 ~ nix shell nixpkgs#nodePackages.mermaid-cli
 ~ mmdc --version
9.1.2
 ~ ll "${PATH%%:*}"
lrwxrwxrwx 1 root root 21 Jan  1  1970 /nix/store/6gc0jb50b5n6f2qddl9h6p9pnp9n6ich-_at_mermaid-js_slash_mermaid-cli-9.1.2/bin -> lib/node_modules/.bin/

(I don't think it matters, but I'm running NixOS 22.11.20220604.231efec (Raccoon).

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

No branches or pull requests

1 participant