Skip to content

Commit

Permalink
Replace $DEVENV_PROFILE with config.services.mysql.package
Browse files Browse the repository at this point in the history
Co-authored-by: Shyim <[email protected]>
  • Loading branch information
schneider-felix and shyim authored Mar 29, 2024
1 parent b1195fb commit 64acc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/scripts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let
${pkgs.wait4x}/bin/wait4x http http://localhost:9200/_cluster/health --expect-status-code 200 --timeout 100s
fi
TABLE=$($DEVENV_PROFILE/bin/mysql shopware -s -N -e 'SHOW TABLES LIKE "system_config";')
TABLE=$(${config.services.mysql.package}/bin/mysql shopware -s -N -e 'SHOW TABLES LIKE "system_config";')
if [[ $TABLE == "" ]]; then
echo "Table system_config is missing. Run >updateSystemConfig< manually to ensure the dev status of your setup!"
Expand Down

0 comments on commit 64acc94

Please sign in to comment.