Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(schema): Added schema for process-compose. [debug-based] #415

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

niksingh710
Copy link
Contributor

  • Fully depended on debug flag of flake-parts.

To test make sure that the debug flag is true in a flake-parts flake.

e.g on juspay/services-flakes/example/llm apply patch

diff --git a/example/llm/flake.nix b/example/llm/flake.nix
index c7ce558..a5cc377 100644
--- a/example/llm/flake.nix
+++ b/example/llm/flake.nix
@@ -8,6 +8,7 @@
     services-flake.url = "github:juspay/services-flake";
   };
   outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
+    debug = true;
     systems = import inputs.systems;
     imports = [
       inputs.process-compose-flake.flakeModule

@niksingh710
Copy link
Contributor Author

Currently, the validity of a process is determined only by checking whether it contains a package and settings attribute.

@srid
Copy link
Member

srid commented Feb 10, 2025

This PR doesn't work for me (on services-flake/examples/llm) with debug flag enabled.

Discussion: https://nixos.zulipchat.com/#narrow/channel/415454-omnix/topic/process-compose.20in.20.60om.20show.60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants