python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / node-packages / generate.sh
blobbee53d7a1e62bb604fbf25672fb7406e7f7536c8
1 #!/usr/bin/env bash
3 set -eu -o pipefail
5 cd "$( dirname "${BASH_SOURCE[0]}" )"
7 node2nix=$(nix-build ../../.. -A nodePackages.node2nix)
9 rm -f ./node-env.nix
11 # Track the latest active nodejs LTS here: https://nodejs.org/en/about/releases/
12 "${node2nix}/bin/node2nix" \
13 -i node-packages.json \
14 -o node-packages.nix \
15 -c composition.nix \
16 --pkg-name nodejs-18_x
18 # using --no-out-link in nix-build argument would cause the
19 # gc to run before the script finishes
20 # which would cause a failure
21 # it's safer to just remove the link after the script finishes
22 # see https://github.com/NixOS/nixpkgs/issues/112846 for more details
23 rm ./result