nixpkgs-suyu/pkgs/development/tools/mongosh/generate.sh
2022-12-15 02:04:14 +00:00

13 lines
311 B
Bash
Executable file

#!/usr/bin/env nix-shell
#! nix-shell -i bash -p node2nix
cd "$(dirname "$0")"
node2nix \
--no-copy-node-env \
--node-env ../../node-packages/node-env.nix \
--input packages.json \
--output packages.nix \
--composition composition.nix \
--strip-optional-dependencies \
--nodejs-16