-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Description
Describe the bug
mongosh is currently using the wrong node version.
I don't know how to override a node2nix derivation and my attempts with override and overrideAttrs have failed, probably because you need to override the nodePackages too and I couldn't figure that out.
Steps To Reproduce
Steps to reproduce the behavior:
$ nix run nixpkgs#mongosh
MongoshWarning: [CLIREPL-10001] Mismatched node version. Required version: >=16.15.0. Currently using: v14.20.0. Exiting...Expected behavior
printing mongosh help for the example above, but more generally connecting to a mongo server such as one started with:
docker run -it --rm -p 27017:27017 mongo
Additional context
Add any other context about the problem here.
Notify maintainers
@Mindavi @bryanasdev000 @andersk
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.06 MiB download, 0.30 MiB unpacked):
/nix/store/zk04408i3ljavv2i8yd43dh5sc0adz67-bash-interactive-5.1-p16-dev
copying path '/nix/store/zk04408i3ljavv2i8yd43dh5sc0adz67-bash-interactive-5.1-p16-dev' from 'https://cache.nixos.org'...
- system:
"x86_64-linux" - host os:
Linux 5.15.59, NixOS, 22.11 (Raccoon), 22.11.20220814.b02538b - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.10.3 - channels(pod):
"home-manager, nixos-21.03pre261529.d9dba88d08a, nixos-20.09-20.09.2497.4a75ca4a4e7" - nixpkgs:
/nix/store/0c10w4am1xhxjkrmnd8d6rbksvm68311-source