From e3d575e0f534b5cc1683824bc0d552142085f800 Mon Sep 17 00:00:00 2001 From: Shivaraj B H Date: Fri, 15 Nov 2024 20:34:02 +0530 Subject: [PATCH] Fix `om develop` breaking when passing custom shell `om develop`: Use `FlakeUrl` without attrs for fetching `OmConfig` As was the case before https://github.com/juspay/omnix/pull/341 --- crates/omnix-cli/src/command/develop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/omnix-cli/src/command/develop.rs b/crates/omnix-cli/src/command/develop.rs index c7e44983..5f9abc9d 100644 --- a/crates/omnix-cli/src/command/develop.rs +++ b/crates/omnix-cli/src/command/develop.rs @@ -28,7 +28,7 @@ impl DevelopCommand { pub async fn run(&self) -> anyhow::Result<()> { let flake = self.flake_shell.without_attr(); - let om_config = OmConfig::from_flake_url(NixCmd::get().await, &self.flake_shell).await?; + let om_config = OmConfig::from_flake_url(NixCmd::get().await, &flake).await?; tracing::info!("⌨️ Preparing to develop project: {:}", &flake); let prj = omnix_develop::core::Project::new(flake, om_config).await?;