Skip to content

Commit

Permalink
Merge pull request #209697 from konradmalik/fix-sad-aarch64
Browse files Browse the repository at this point in the history
sad: fix build on aarch64
  • Loading branch information
figsoda authored Jan 8, 2023
2 parents 9edba22 + c672a26 commit 7581ec0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/tools/text/sad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 7581ec0

Please sign in to comment.