summaryrefslogtreecommitdiff
path: root/pkgs/mx-puppet-groupme/generate.sh
blob: 90f3ca8c3ce9584ae8714c1aff286173eca04beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! nix-shell -i bash -p nodePackages.node2nix

# No official release
rev="695f97c3ab834403489bb01517d433498118e482"
u="https://gitlab.com/robintown/mx-puppet-groupme/-/raw/$rev"
# Download package.json and package-lock.json
# curl -o package.json "$u/package.json?inline=false"
curl -o package-lock.json "$u/package-lock.json?inline=false"

node2nix \
  --nodejs-12 \
  --node-env node-env.nix \
  --input package.json \
  --lock package-lock.json \
  --output node-packages.nix \
  --composition node-composition.nix