From 54d0d91cbe68922695a05df3823f18ce3b0aac05 Mon Sep 17 00:00:00 2001 From: Matthew Kenigsberg Date: Mon, 15 Jan 2024 17:03:43 -0700 Subject: [PATCH] comments --- src/action/common/configure_nix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/action/common/configure_nix.rs b/src/action/common/configure_nix.rs index e7328a21e..8095e85a6 100644 --- a/src/action/common/configure_nix.rs +++ b/src/action/common/configure_nix.rs @@ -79,7 +79,7 @@ impl ConfigureNix { pub async fn find_nix_and_ca_cert( unpacked_path: &Path, ) -> Result<(PathBuf, PathBuf), ActionError> { - // Find an `nix` package + // Find a `nix` package let nix_pkg_glob = format!("{}/nix-*/store/*-nix-*.*.*", unpacked_path.display()); let mut found_nix_pkg = None; for entry in glob(&nix_pkg_glob).map_err(Self::error)? { @@ -105,7 +105,7 @@ impl ConfigureNix { return Err(Self::error(ConfigureNixError::NoNix)); }; - // Find an `nss-cacert` package, add it too. + // Find an `nss-cacert` package let nss_ca_cert_pkg_glob = format!("{}/nix-*/store/*-nss-cacert-*.*", unpacked_path.display()); let mut found_nss_ca_cert_pkg = None;