diff options
author | notgne2 | 2020-11-27 18:52:46 -0700 |
---|---|---|
committer | notgne2 | 2020-11-27 18:52:46 -0700 |
commit | 26bad3a2a6497997cb694fb7aa0a70822229ec33 (patch) | |
tree | da9c74b0acd8b045bc2e149e0fcc427ca019fedf /src | |
parent | 7fa67466c75bb0c14659b418b01ce331904b539e (diff) |
Quote node and profile names given to `nix build` (relates to #10)
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/push.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/push.rs b/src/utils/push.rs index f6330b5..342cd65 100644 --- a/src/utils/push.rs +++ b/src/utils/push.rs @@ -48,12 +48,12 @@ pub async fn push_profile( let mut build_command = if supports_flakes { build_c.arg("build").arg(format!( - "{}#deploy.nodes.{}.profiles.{}.path", + "{}#deploy.nodes.\"{}\".profiles.\"{}\".path", repo, deploy_data.node_name, deploy_data.profile_name )) } else { build_c.arg(&repo).arg("-A").arg(format!( - "deploy.nodes.{}.profiles.{}.path", + "deploy.nodes.\"{}\".profiles.\"{}\".path", deploy_data.node_name, deploy_data.profile_name )) }; |