Skip to content

Commit

Permalink
Merge pull request NixOS#98673 from acowley/emacsgcc-paths
Browse files Browse the repository at this point in the history
emacs: fix paths for native compilation
  • Loading branch information
adisbladis committed Sep 26, 2020
2 parents 8954f32 + 30313a7 commit bbecb0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/applications/editors/emacs/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ in stdenv.mkDerivation {
"${lib.getLib stdenv.cc.libc}/lib"

# Executable paths necessary for compilation (ld, as):
"${lib.getBin stdenv.cc.cc}"
"${lib.getBin stdenv.cc.bintools}"
"${lib.getBin stdenv.cc.bintools.bintools}"
"${lib.getBin stdenv.cc.cc}/bin"
"${lib.getBin stdenv.cc.bintools}/bin"
"${lib.getBin stdenv.cc.bintools.bintools}/bin"
]));
in ''
substituteInPlace lisp/emacs-lisp/comp.el --replace \
Expand Down

0 comments on commit bbecb0e

Please sign in to comment.