Merge pull request #209697 from konradmalik/fix-sad-aarch64

sad: fix build on aarch64
This commit is contained in:
figsoda 2023-01-08 17:03:11 -05:00 committed by GitHub
commit 7581ec058e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,12 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-krQTa9R3hmMVKLoBgnbCw+aSQu9HUXfA3XflB8AZv6w=";
# fix for compilation on aarch64
# see https://github.com/NixOS/nixpkgs/issues/145726
prePatch = ''
rm .cargo/config.toml
'';
meta = with lib; {
description = "CLI tool to search and replace";
homepage = "https://github.com/ms-jpq/sad";