mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
12 lines
383 B
Bash
Executable file
12 lines
383 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#! nix-shell -i bash -I nixpkgs=../../../.. -p nodePackages.node2nix nodePackages.bower2nix
|
|
set -euo pipefail
|
|
|
|
node2nix --nodejs-12 \
|
|
--input node-packages.json \
|
|
--output node-packages-generated.nix \
|
|
--composition node-packages.nix \
|
|
--node-env ../../../development/node-packages/node-env.nix \
|
|
|
|
# TODO: bower2nix > bower-packages.nix
|