Quote attribute name.
This commit is contained in:
parent
f4c58ce90b
commit
c6898f239c
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ fn try_nix_eval(flake: &str, attr: &str) -> Result<bool> {
|
||||||
.arg(format!("{flake}#{FLAKE_ATTR}"))
|
.arg(format!("{flake}#{FLAKE_ATTR}"))
|
||||||
.arg("--json")
|
.arg("--json")
|
||||||
.arg("--apply")
|
.arg("--apply")
|
||||||
.arg(format!("a: a ? {attr}"))
|
.arg(format!("a: a ? \"{attr}\""))
|
||||||
.stderr(process::Stdio::inherit())
|
.stderr(process::Stdio::inherit())
|
||||||
.output()?;
|
.output()?;
|
||||||
if output.status.success() {
|
if output.status.success() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue