12 lines
285 B
Bash
12 lines
285 B
Bash
|
#!/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/web/package.json" \
|
||
|
-l "$SRC/web/package-lock.json" \
|
||
|
-o node-packages.nix \
|
||
|
-c node-composition.nix
|