Repository navigation
Commit ec59f82
committed
fix(nix): cross build static linux binaries
Use the musl cross package sets for the Linux static package instead of pkgsStatic. The CI build scripts need host executables while Cargo still targets the musl triples for the final binary, and pkgsStatic caused build-script links to mix static flags with dynamic glibc objects.
Keep the rust-overlay toolchain target-specific so nix flake evaluation exposes the same ccusage-static package names while avoiding the failed static build-script link path seen in CI.1 parent d602f90 commit ec59f82
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
87 | 96 | | |
| 97 | + | |
88 | 98 | | |
89 | 99 | | |
90 | 100 | | |
| |||
0 commit comments