helm/pkgs/ghost/builder.sh
Anish Lakhwara 091b653c9a feat: ghost
2024-05-21 20:39:19 -07:00

10 lines
284 B
Bash

source "$stdenv"/setup
export HOME=$(mktemp -d)
npm install --loglevel=info --logs-max=0 "ghost-cli@$ghostCliVersion"
mkdir --parents "$out"/
node_modules/ghost-cli/bin/ghost install "$version" --db=sqlite3 \
--no-enable --no-prompt --no-stack --no-setup --no-start --dir "$out"