Skip to content

Commit

Permalink
Merge pull request #95 from schneider-felix/devenv-1.x
Browse files Browse the repository at this point in the history
Devenv 1.x
  • Loading branch information
Uwe Kleinmann authored Apr 9, 2024
2 parents 757eb95 + fd67aeb commit 7141799
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions modules/caddy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ in {
config = ''
{
auto_https disable_redirects
skip_install_trust
}
'';
virtualHosts = caddyHostConfig;
Expand Down
2 changes: 1 addition & 1 deletion modules/php.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let
];

phpVersion = if builtins.hasAttr "PHP_VERSION" config.env then config.env.PHP_VERSION else cfg.phpVersion;
package = inputs.phps.packages.${builtins.currentSystem}.${phpVersion};
package = inputs.phps.packages.${pkgs.stdenv.system}.${phpVersion};

phpPackage = package.buildEnv {
extensions = { all, enabled }: with all; enabled
Expand Down
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=$(mysql shopware -s -N -e 'SHOW TABLES LIKE "system_config";')
TABLE=$($DEVENV_PROFILE/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 7141799

Please sign in to comment.