From 7fa67466c75bb0c14659b418b01ce331904b539e Mon Sep 17 00:00:00 2001 From: notgne2 Date: Fri, 27 Nov 2020 15:01:50 -0700 Subject: Remove old `--no-link` flags to the Nix build --- src/utils/push.rs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/utils') 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) { -- cgit v1.2.3