Merge pull request #206371 from wegank/feroxbuster

feroxbuster: fix build on aarch64-linux
This commit is contained in:
Fabian Affolter 2022-12-23 21:10:18 +01:00 committed by GitHub
commit fde05a82c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
};
}