Skip to content

Commit

Permalink
search: use substituters
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Apr 19, 2024
1 parent 11e7d3e commit 349e28f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion devenv/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl App {

if args
.first()
.map(|arg| arg == &"build" || arg == &"print-dev-env")
.map(|arg| arg == &"build" || arg == &"print-dev-env" || arg == &"search")
.unwrap_or(false)
&& !self.cli.offline
{
Expand Down
8 changes: 1 addition & 7 deletions devenv/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -734,13 +734,7 @@ impl App {

let options = self.run_nix(
"nix",
&[
"--offline",
"build",
"--no-link",
"--print-out-paths",
".#optionsJSON",
],
&["build", "--no-link", "--print-out-paths", ".#optionsJSON"],
&command::Options::default(),
)?;

Expand Down

0 comments on commit 349e28f

Please sign in to comment.