Skip to content

Commit

Permalink
flake: add update script
Browse files Browse the repository at this point in the history
  • Loading branch information
NyCodeGHG committed Oct 22, 2023
1 parent 15b1677 commit f8ee686
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@
${npm} run dev &
${php} artisan serve
'';
update-nix-package-deps.exec = ''
set -eo pipefail
pushd nix/package
./update.sh
pushd web
./update.sh
popd
popd
nix fmt ./nix/package
'';
artisan.exec = ''
# Unset .env variables, so laravel reads the .env files by itself
${unsetEnv}
Expand Down

0 comments on commit f8ee686

Please sign in to comment.