mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 00:57:38 +00:00
feroxbuster: fix build on aarch64-linux
This commit is contained in:
parent
338bf0b325
commit
53e77529ab
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user