fix: relative dir installables
Some checks failed
conventional commits / conventional commits (push) Successful in 6s
build / run (push) Successful in 36s
check / run (push) Failing after 56s

A leftover `current_dir` in the command builder for installables
resulted in `nix-weather ./#` invocations, and others relying on
relative filesystem paths failing.

Resolves: #20
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2024-09-12 13:09:18 +02:00
parent e949478754
commit 8c271f669a
Signed by: cafkafk
GPG key ID: 26C542FD97F965CE

View file

@ -33,7 +33,6 @@ fn get_installable_drv_path(
installable: &str,
) -> std::io::Result<std::process::Output> {
Command::new("nix")
.current_dir(Path::new(config_dir))
.args(["build", "--quiet", installable, "--dry-run", "--json"])
.output()
}