From 64acc94b9b67d0e5a977ed60b5ee2b55bd7e274e Mon Sep 17 00:00:00 2001 From: Felix Schneider <69912882+schneider-felix@users.noreply.github.com> Date: Fri, 29 Mar 2024 13:38:51 +0100 Subject: [PATCH] Replace $DEVENV_PROFILE with config.services.mysql.package Co-authored-by: Shyim --- modules/scripts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/scripts.nix b/modules/scripts.nix index bcdae67..21e4f19 100644 --- a/modules/scripts.nix +++ b/modules/scripts.nix @@ -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!"