tracexec: drop riscv64 specialisation

tracexec no longer depends on seccompiler.
It uses libsecomp which supports riscv64.
This commit is contained in:
Levi Zim
2026-03-09 22:07:59 +08:00
parent efd029afd1
commit 9bbd356ff8
+1 -5
View File
@@ -44,11 +44,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoBuildFlags = [
"--no-default-features"
"--features=recommended"
]
# Remove RiscV64 specialisation when this is fixed:
# * https://github.com/NixOS/nixpkgs/pull/310158#pullrequestreview-2046944158
# * https://github.com/rust-vmm/seccompiler/pull/72
++ lib.optional stdenv.hostPlatform.isRiscV64 "--no-default-features";
];
preBuild = ''
sed -i '1ino-clearly-defined = true' about.toml # disable network requests