forked from mirrors/nixpkgs
emacs: Use stdenv.libc instead of .glibc
The latter doesn't exist on Darwin (and, presumably, other targets as well). This change allows emacsGcc from emacs-overlay to attempt to build where previously, the derivation would error out.
This commit is contained in:
parent
038e86ffbb
commit
0d15ea9500
|
@ -70,7 +70,7 @@ in stdenv.mkDerivation {
|
|||
libPath = lib.concatStringsSep ":" [
|
||||
"${lib.getLib libgccjit}/lib/gcc/${targetPlatform.config}/${libgccjit.version}"
|
||||
"${lib.getLib stdenv.cc.cc}/lib"
|
||||
"${lib.getLib stdenv.glibc}/lib"
|
||||
"${lib.getLib stdenv.libc}/lib"
|
||||
];
|
||||
in ''
|
||||
substituteInPlace lisp/emacs-lisp/comp.el --replace \
|
||||
|
|
Loading…
Reference in a new issue