ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

surround drv in qoutes in build phase command (#470)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

marshmallow
autofix-ci[bot]
and committed by
GitHub
6017853f b3bb94e4

+5 -5
+2
CHANGELOG.md
··· 20 20 21 21 ### Fixed 22 22 23 + - Some host shells, like fish, would break the `build` phase command. The 24 + problematic string is now surrounded in quotes. 23 25 - Status bar is cleaned every time after execution is completed. 24 26 - Fixed garnix docs links in documentation. 25 27
+3 -5
crates/core/src/hive/steps/build.rs
··· 8 8 use crate::{ 9 9 HiveLibError, 10 10 commands::{ 11 - CommandArguments, Either, WireCommandChip, builder::CommandStringBuilder, 12 - run_command_with_env, 11 + CommandArguments, Either, WireCommandChip, builder::CommandStringBuilder, run_command, 13 12 }, 14 13 hive::node::{Context, ExecuteStep, SharedTarget}, 15 14 }; ··· 40 39 "--no-link", 41 40 "--print-out-paths", 42 41 ]); 43 - command_string.arg(top_level.to_string()); 42 + command_string.arg(format!("\"{top_level}\"")); 44 43 45 - let status = run_command_with_env( 44 + let status = run_command( 46 45 &CommandArguments::new(command_string, ctx.modifiers) 47 46 // build remotely if asked for AND we arent applying locally 48 47 .execute_on_remote(self.target.clone()) 49 48 .mode(crate::commands::ChildOutputMode::Nix) 50 49 .log_stdout(), 51 - std::collections::HashMap::new(), 52 50 ) 53 51 .await? 54 52 .wait_till_success()