aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornotgne22020-11-27 15:01:50 -0700
committernotgne22020-11-27 15:01:50 -0700
commit7fa67466c75bb0c14659b418b01ce331904b539e (patch)
treeb45f8d280c50173159b7e458b0158cd31b299733 /src
parent3da8c6d048be03ecaf5caa54d945740ab88be465 (diff)
Remove old `--no-link` flags to the Nix build
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
-rw-r--r--src/utils/push.rs14
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) {