diff --git a/nix/shell.nix b/nix/shell.nix index e29add666..8cbddde73 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -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}