From 0d15ea9500664a3b4e98dc1c837a809b61785b77 Mon Sep 17 00:00:00 2001 From: Andreas Fuchs Date: Sun, 2 Aug 2020 16:14:57 -0400 Subject: [PATCH] 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. --- pkgs/applications/editors/emacs/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 69bb51e10f2..0d7c31b8d86 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -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 \