diff options
author | figsoda <figsoda@pm.me> | 2023-01-08 17:03:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 17:03:11 -0500 |
commit | 7581ec058e6f9aa48b5e0d0fecda58ef5e9af757 (patch) | |
tree | ccc8ee6dc6ff9af238254de279d727798cdcbe2c | |
parent | 9edba22a3ed8d0c02556cd1fd5e49ccbf845d08f (diff) | |
parent | c672a264e1112ea0796c46f3ee0b7ecd358be8c2 (diff) |
Merge pull request #209697 from konradmalik/fix-sad-aarch64
sad: fix build on aarch64
-rw-r--r-- | pkgs/tools/text/sad/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/text/sad/default.nix b/pkgs/tools/text/sad/default.nix index 08665e22d9eca..9225fd98b86c1 100644 --- a/pkgs/tools/text/sad/default.nix +++ b/pkgs/tools/text/sad/default.nix @@ -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"; |