nixpkgs/pkgs/development/tools/mongosh/generate.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
311 B
Bash
Raw Normal View History

2022-02-26 08:24:49 +00:00
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p node2nix
2022-12-10 14:44:07 +00:00
cd "$(dirname "$0")"
2022-02-26 08:24:49 +00:00
node2nix \
--no-copy-node-env \
--node-env ../../node-packages/node-env.nix \
--input packages.json \
2022-12-10 14:44:07 +00:00
--output packages.nix \
--composition composition.nix \
2022-02-26 08:24:49 +00:00
--strip-optional-dependencies \
2022-09-29 02:00:15 +00:00
--nodejs-16