Skip to content

Commit bae978e

Browse files
committed
fix: fix an issue with the rust provider where the musl.dev nix pkg is not available anymore
due to this musl required builds such as the `rust-ring` example fails
1 parent 4accb31 commit bae978e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/providers/rust.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ impl RustProvider {
7575
}
7676

7777
if RustProvider::should_use_musl(app, env)? {
78-
setup.add_nix_pkgs(&[Pkg::new("musl"), Pkg::new("musl.dev")]);
78+
setup.add_nix_pkgs(&[Pkg::new("musl")]);
79+
setup.add_apt_pkgs(vec![String::from("musl-tools")]);
7980
}
8081

8182
setup.set_nix_archive(NIX_ARCHIVE.to_string());

0 commit comments

Comments
 (0)