mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
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
|
@ -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