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