diff options
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 4 | ||||
-rw-r--r-- | src/activate.rs | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -35,7 +35,7 @@ }; lib = { - setActivate = base: activate: pkgs.symlinkJoin { + setActivate = base: activate: pkgs.buildEnv { name = ("activatable-" + base.name); paths = [ base @@ -46,7 +46,7 @@ ${activate} ''; executable = true; - destination = "/activate"; + destination = "/deploy-rs-activate"; }) ]; }; diff --git a/src/activate.rs b/src/activate.rs index 64baa4f..38fc832 100644 --- a/src/activate.rs +++ b/src/activate.rs @@ -75,7 +75,7 @@ pub async fn activate( } } - let activate_status = Command::new(format!("{}/activate", profile_path)) + let activate_status = Command::new(format!("{}/deploy-rs-activate", profile_path)) .env("PROFILE", &profile_path) .status() .await; @@ -142,7 +142,7 @@ pub async fn activate( info!("Attempting re-activate last generation"); - let re_activate_exit_status = Command::new(format!("{}/activate", profile_path)) + let re_activate_exit_status = Command::new(format!("{}/deploy-rs-activate", profile_path)) .env("PROFILE", &profile_path) .status() .await?; |