luajit: fix evaluation on Darwin

This commit is contained in:
Thomas Tuegel 2016-03-11 08:57:39 -06:00
parent c0c2be83a3
commit cd5e923f55

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
'' + stdenv.lib.optionalString (stdenv.cc.libc != null)
''
substituteInPlace Makefile \
--replace ldconfig ${stdenv.cc.libc.bin}/bin/ldconfig
--replace ldconfig ${stdenv.cc.libc.bin or stdenv.cc.libc}/bin/ldconfig
'';
configurePhase = false;