mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
Merge pull request #302111 from 7c6f434c/radare2-darwin
radare2: fix on Darwin after update in #301660 (thanks @reckenrode)
This commit is contained in:
commit
516855b5bf
@ -79,6 +79,12 @@ stdenv.mkDerivation rec {
|
||||
"-Dr2_gittap=${version}"
|
||||
];
|
||||
|
||||
# TODO: remove when upstream fixes the issue
|
||||
# https://github.com/radareorg/radare2/issues/22793
|
||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
|
||||
"-DTHREAD_CONVERT_THREAD_STATE_TO_SELF=1"
|
||||
]);
|
||||
|
||||
enableParallelBuilding = true;
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user