-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
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).
tennox
Metadata
Metadata
Assignees
Labels
No labels