From edaed825650eea32878441d3b8c7eb40e8877882 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Mon, 28 Sep 2020 16:17:31 -0700 Subject: Add examples --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 6dcb885..513fbf2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -123,6 +123,7 @@ async fn deploy_all_profiles( } /// Returns if the available Nix installation supports flakes +#[inline] async fn test_flake_support() -> Result> { Ok(Command::new("nix") .arg("eval") @@ -136,6 +137,7 @@ async fn test_flake_support() -> Result> { } /// Evaluates the Nix in the given `repo` and return the processed Data from it +#[inline] async fn get_deployment_data( supports_flakes: bool, repo: &str, -- cgit v1.2.3