diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.rs | 2 | ||||
-rw-r--r-- | src/utils/push.rs | 14 |
2 files changed, 6 insertions, 10 deletions
diff --git a/src/main.rs b/src/main.rs index 2381103..544f563 100644 --- a/src/main.rs +++ b/src/main.rs @@ -312,7 +312,7 @@ enum RunDeployError { DeployProfileError(#[from] utils::deploy::DeployProfileError), #[error("Failed to push profile: {0}")] PushProfileError(#[from] utils::push::PushProfileError), - #[error("No profile names `{0}` was found")] + #[error("No profile named `{0}` was found")] ProfileNotFound(String), #[error("No node named `{0}` was found")] NodeNotFound(String), diff --git a/src/utils/push.rs b/src/utils/push.rs index 18b97b5..f6330b5 100644 --- a/src/utils/push.rs +++ b/src/utils/push.rs @@ -47,19 +47,15 @@ pub async fn push_profile( }; let mut build_command = if supports_flakes { - build_c.arg("build").arg("--no-link").arg(format!( + build_c.arg("build").arg(format!( "{}#deploy.nodes.{}.profiles.{}.path", repo, deploy_data.node_name, deploy_data.profile_name )) } else { - build_c - .arg(&repo) - .arg("--no-out-link") - .arg("-A") - .arg(format!( - "deploy.nodes.{}.profiles.{}.path", - deploy_data.node_name, deploy_data.profile_name - )) + build_c.arg(&repo).arg("-A").arg(format!( + "deploy.nodes.{}.profiles.{}.path", + deploy_data.node_name, deploy_data.profile_name + )) }; build_command = match (keep_result, supports_flakes) { |