aboutsummaryrefslogtreecommitdiff
path: root/src/activate.rs
diff options
context:
space:
mode:
authornotgne22020-11-22 18:32:04 -0700
committernotgne22020-11-22 18:32:04 -0700
commitcb50d98884f786a3e2aa40befa6ebf1ef2be90da (patch)
tree35a68003919592e4fb00519123b7e0aae3f75bbb /src/activate.rs
parent08c6bd8b73489d50a99129a22f559e6197892c23 (diff)
Use `/tmp` as temp directory, not `/tmp/deploy-rs` (resolves #8 by deprecation)
Diffstat (limited to '')
-rw-r--r--src/activate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activate.rs b/src/activate.rs
index f9c7e22..193f617 100644
--- a/src/activate.rs
+++ b/src/activate.rs
@@ -204,7 +204,7 @@ pub async fn activation_confirmation(
closure: String,
) -> Result<(), ActivationConfirmationError> {
let lock_hash = &closure["/nix/store/".len()..];
- let lock_path = format!("{}/activating-{}", temp_path, lock_hash);
+ let lock_path = format!("{}/deploy-rs-canary-{}", temp_path, lock_hash);
if let Some(parent) = Path::new(&lock_path).parent() {
fs::create_dir_all(parent)