depot/nix/pkgs/authentik/docs/node2nix-regen.sh

12 lines
293 B
Bash
Raw Normal View History

2022-05-12 22:55:10 +00:00
#!/usr/bin/env nix-shell
#!nix-shell -p nodePackages.node2nix -i bash
SRC="$(nix-build $HOME/depot --no-out-link -A nix.pkgs.authentik.src)"
exec node2nix \
-16 \
-i "$SRC/website/package.json" \
-l "$SRC/website/package-lock.json" \
-o node-packages.nix \
-c node-composition.nix