diff --git a/src/bin/repo.rs b/src/bin/repo.rs index f956db17b..c5e173b14 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -16,6 +16,7 @@ use ratatui::prelude::TermionBackend; use ratatui::style::{Color, Style}; use ratatui::text::{Line, Span, Text}; use ratatui::widgets::{Block, Borders, Clear, List, ListItem, ListState, Paragraph, Wrap}; +use redoxer::target; use std::borrow::Cow; use std::collections::{HashMap, VecDeque}; use std::io::{Read, Write, stderr, stdin, stdout}; @@ -269,6 +270,9 @@ fn parse_args(args: Vec) -> anyhow::Result<(CliConfig, CliCommand, Vec config.with_package_deps = true, @@ -336,7 +340,7 @@ fn parse_args(args: Vec) -> anyhow::Result<(CliConfig, CliCommand, Vec anyhow::Result<()> { let public_path = "build/id_ed25519.pub.toml"; - let archive_path = config.repo_dir.join(recipe.name.as_str()); + let archive_path = config + .repo_dir + .join(target()) + .join(format!("{}.pkgar", recipe.name)); pkgar::extract( public_path, archive_path.as_path(),