diff --git a/crates/pixi_build_types/src/procedures/conda_build.rs b/crates/pixi_build_types/src/procedures/conda_build.rs index f629d168f..d2610a0e4 100644 --- a/crates/pixi_build_types/src/procedures/conda_build.rs +++ b/crates/pixi_build_types/src/procedures/conda_build.rs @@ -43,6 +43,9 @@ pub struct CondaBuildParams { /// /// The directory may not yet exist. pub work_directory: PathBuf, + + /// The path to the editable package + pub editable: Option, } /// Identifier of an output. diff --git a/src/build/mod.rs b/src/build/mod.rs index 80dcdf56f..228dc63ba 100644 --- a/src/build/mod.rs +++ b/src/build/mod.rs @@ -266,6 +266,8 @@ impl BuildContext { channel_configuration: ChannelConfiguration { base_url: self.channel_config.channel_alias.clone(), }, + // FIXME + editable: Some(PathBuf::from_str("/var/home/julian/Projekte/github.com/prefix-dev/pixi-1/pytest-temp/test_editable_pyproject0/editable-pyproject").unwrap()), outputs: Some(vec![CondaOutputIdentifier { name: Some(source_spec.package_record.name.as_normalized().to_string()), version: Some(source_spec.package_record.version.version().to_string()), diff --git a/src/cli/build.rs b/src/cli/build.rs index 8760f5623..63c8e6cc4 100644 --- a/src/cli/build.rs +++ b/src/cli/build.rs @@ -165,6 +165,8 @@ pub async fn execute(args: Args) -> miette::Result<()> { base_url: channel_config.channel_alias, }, outputs: None, + // FIXME + editable: None, work_directory: work_dir.path().to_path_buf(), variant_configuration: Some(Default::default()), },