python310Packages.levenshtein: disable LTO to fix aarch64-darwin build
This commit is contained in:
parent
13d189d686
commit
c4950e533e
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
@ -36,6 +37,10 @@ buildPythonPackage rec {
|
||||
rapidfuzz-cpp
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = lib.optionals (stdenv.cc.isClang && stdenv.isDarwin) [
|
||||
"-fno-lto" # work around https://github.com/NixOS/nixpkgs/issues/19098
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
rapidfuzz
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user