feroxbuster: fix build on aarch64-linux

This commit is contained in:
Weijia Wang 2022-12-23 16:15:03 +01:00
parent 338bf0b325
commit 53e77529ab

View File

@ -18,6 +18,11 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-B6FeY5pWW5+y/0HlVedkm8ol2z9GXgEYe5j7/uMhqsw=";
};
# disable linker overrides on aarch64-linux
postPatch = ''
rm .cargo/config
'';
cargoSha256 = "sha256-OFgt8yu2wlvkP/wjlmRRl8UyD9MUx9/0Rcs6K8jLkjo=";
OPENSSL_NO_VENDOR = true;
@ -40,8 +45,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/epi052/feroxbuster";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.isLinux && stdenv.isAarch64;
platforms = platforms.unix;
};
}