diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-03-07 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2023-03-07 04:20:00 +0000 |
commit | bb5edc482e691dbf9d0a28348684b2af611c6711 (patch) | |
tree | d26c44f177b1bb1b3ef520621b5b3cba4962b5a8 /pkgs/development | |
parent | 2689297c50e2041d7f1846580f6bd4d784cd45f9 (diff) | |
download | nixlib-bb5edc482e691dbf9d0a28348684b2af611c6711.tar nixlib-bb5edc482e691dbf9d0a28348684b2af611c6711.tar.gz nixlib-bb5edc482e691dbf9d0a28348684b2af611c6711.tar.bz2 nixlib-bb5edc482e691dbf9d0a28348684b2af611c6711.tar.lz nixlib-bb5edc482e691dbf9d0a28348684b2af611c6711.tar.xz nixlib-bb5edc482e691dbf9d0a28348684b2af611c6711.tar.zst nixlib-bb5edc482e691dbf9d0a28348684b2af611c6711.zip |
rustpython: fix build on aarch64-linux
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/interpreters/python/rustpython/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python/rustpython/default.nix b/pkgs/development/interpreters/python/rustpython/default.nix index 36ce552d7a3a..b00631ad71a4 100644 --- a/pkgs/development/interpreters/python/rustpython/default.nix +++ b/pkgs/development/interpreters/python/rustpython/default.nix @@ -4,6 +4,7 @@ , fetchFromGitHub , SystemConfiguration , python3 +, fetchpatch }: rustPlatform.buildRustPackage rec { @@ -19,6 +20,14 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-PYSsv/dZ3dxferTDbRLF9T8GGj9kZ3ixWNglQKtA3pE="; + patches = [ + # Fix aarch64 compatibility for sqlite. Remove with the next release. https://github.com/RustPython/RustPython/pull/4499 + (fetchpatch { + url = "https://github.com/RustPython/RustPython/commit/9cac89347e2276fcb309f108561e99f4be5baff2.patch"; + hash = "sha256-vUPQI/5ec6/36Vdtt7/B2unPDsVrGh5iEiSMBRatxWU="; + }) + ]; + # freeze the stdlib into the rustpython binary cargoBuildFlags = [ "--features=freeze-stdlib" ]; |