Skip to content

Commit

Permalink
Fix om develop breaking when passing custom shell
Browse files Browse the repository at this point in the history
`om develop`: Use `FlakeUrl` without attrs for fetching `OmConfig`

As was the case before #341
  • Loading branch information
shivaraj-bh authored Nov 15, 2024
1 parent 4ef869e commit e3d575e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/omnix-cli/src/command/develop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down

0 comments on commit e3d575e

Please sign in to comment.