notmuch: fix darwin build (#519887)
This commit is contained in:
@@ -79,6 +79,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace emacs/notmuch-emacs-mua \
|
||||
--replace 'EMACS:-emacs' 'EMACS:-${emacs}/bin/emacs' \
|
||||
--replace 'EMACSCLIENT:-emacsclient' 'EMACSCLIENT:-${emacs}/bin/emacsclient'
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
# The configure script runs the minimal test program
|
||||
# when checking support for address and thread sanitizer (asan and tsan).
|
||||
# On Darwin the minimal test program hangs when compiled
|
||||
# with the asan and tsan compile options.
|
||||
# Since asan and tsan are supported on Darwin the runtime
|
||||
# check is skipped as follows:
|
||||
substituteInPlace configure \
|
||||
--replace './minimal' 'true'
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
||||
Reference in New Issue
Block a user