diff --git a/src/Action/CreateListOfFilesToGenerate.php b/src/Action/CreateListOfFilesToGenerate.php index e56fab0..2b04dbc 100644 --- a/src/Action/CreateListOfFilesToGenerate.php +++ b/src/Action/CreateListOfFilesToGenerate.php @@ -32,7 +32,13 @@ final class CreateListOfFilesToGenerate ]); if ($configDto->isFlake) { - $filesToGenerate->push(new TemplateFile(data: 'php/sculpin/flake.nix', name: 'flake.nix')); + $filesToGenerate->push(new TemplateFile(data: 'php/common/flake.nix', name: 'flake.nix')); + } + break; + + case (strtolower(ProjectType::Symfony->name)): + if ($configDto->isFlake) { + $filesToGenerate->push(new TemplateFile(data: 'php/common/flake.nix', name: 'flake.nix')); } break; diff --git a/templates/php/sculpin/flake.nix.twig b/templates/php/common/flake.nix.twig similarity index 100% rename from templates/php/sculpin/flake.nix.twig rename to templates/php/common/flake.nix.twig