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

11 lines
293 B
Bash
Executable file

#!/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