diff --git a/src/lib.rs b/src/lib.rs index d85717c..c27ffb5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -166,7 +166,7 @@ fn package_record_from_archive(file: &Path) -> Result { /// Install a package into the environment and write a `conda-meta` file that /// contains information about how the file was linked. -pub async fn install_package_to_environment_from_archive( +async fn install_package_to_environment_from_archive( target_prefix: &Path, package_path: PathBuf, repodata_record: RepoDataRecord, @@ -221,7 +221,7 @@ pub async fn install_package_to_environment_from_archive( } // https://github.com/conda/rattler/pull/937 -pub async fn link_package_from_archive( +async fn link_package_from_archive( package_path: &Path, target_dir: &Path, driver: &InstallDriver, diff --git a/tests/integration_test.rs b/tests/integration_test.rs index 9f6c430..fefb93e 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -17,8 +17,16 @@ fn options(#[default("simple-example")] test_case: String) -> Options { // copy pixi.toml and pixi.lock to temporary location let pixi_toml = output_dir.path().join("pixi.toml"); let pixi_lock = output_dir.path().join("pixi.lock"); - std::fs::copy(format!("tests/resources/{}/pixi.toml", test_case), &pixi_toml).unwrap(); - std::fs::copy(format!("tests/resources/{}/pixi.lock", test_case), &pixi_lock).unwrap(); + std::fs::copy( + format!("tests/resources/{}/pixi.toml", test_case), + &pixi_toml, + ) + .unwrap(); + std::fs::copy( + format!("tests/resources/{}/pixi.lock", test_case), + &pixi_lock, + ) + .unwrap(); let pixi_install = Command::new("pixi") .arg("install")