emacs: Use stdenv.cc.libc instead of plain .libc
This is the portable way to address the system-appropriate libc, better than conditionalizing by (darwin/GNU) system or using either one.
This commit is contained in:
parent
41e34e76d8
commit
ad7a3fb3f6
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ in stdenv.mkDerivation {
|
|||
"${lib.getLib libgccjit}/lib"
|
||||
"${lib.getLib libgccjit}/lib/gcc/${targetPlatform.config}/${libgccjit.version}"
|
||||
"${lib.getLib stdenv.cc.cc}/lib"
|
||||
"${lib.getLib stdenv.libc}/lib"
|
||||
"${lib.getLib stdenv.cc.libc}/lib"
|
||||
]));
|
||||
in ''
|
||||
substituteInPlace lisp/emacs-lisp/comp.el --replace \
|
||||
|
|
Loading…
Reference in a new issue