mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
94ae01852b
Co-authored-by: Jamie McClymont <jamie@kwiius.com>
12 lines
373 B
Bash
Executable file
12 lines
373 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
ROOT="$(realpath "$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"/../../../..)"
|
|
|
|
$(nix-build $ROOT -A nodePackages.node2nix --no-out-link)/bin/node2nix \
|
|
--nodejs-12 \
|
|
--node-env ../../../development/node-packages/node-env.nix \
|
|
--development \
|
|
--input package.json \
|
|
--output node-packages.nix \
|
|
--composition node-composition.nix
|