mirror of
https://github.com/nix-community/emacs-overlay.git
synced 2025-12-06 02:40:25 -08:00
Reapply "Use --replace-warn instead of --replace in substituteInPlace"
This reverts commit 0a9f220646.
--replace-warn is in 24.05.
This commit is contained in:
parent
2933ca78e4
commit
e417bd7c85
1 changed files with 3 additions and 3 deletions
|
|
@ -34,8 +34,8 @@ let
|
||||||
|
|
||||||
postPatch = old.postPatch + ''
|
postPatch = old.postPatch + ''
|
||||||
substituteInPlace lisp/loadup.el \
|
substituteInPlace lisp/loadup.el \
|
||||||
--replace '(emacs-repository-get-version)' '"${repoMeta.rev}"' \
|
--replace-warn '(emacs-repository-get-version)' '"${repoMeta.rev}"' \
|
||||||
--replace '(emacs-repository-get-branch)' '"master"'
|
--replace-warn '(emacs-repository-get-branch)' '"master"'
|
||||||
'' +
|
'' +
|
||||||
# XXX: Maybe remove when emacsLsp updates to use Emacs
|
# XXX: Maybe remove when emacsLsp updates to use Emacs
|
||||||
# 29. We already have logic in upstream Nixpkgs to use
|
# 29. We already have logic in upstream Nixpkgs to use
|
||||||
|
|
@ -65,7 +65,7 @@ let
|
||||||
"${super.lib.getBin self.stdenv.cc.bintools.bintools}/bin"
|
"${super.lib.getBin self.stdenv.cc.bintools.bintools}/bin"
|
||||||
])));
|
])));
|
||||||
in ''
|
in ''
|
||||||
substituteInPlace lisp/emacs-lisp/comp.el --replace \
|
substituteInPlace lisp/emacs-lisp/comp.el --replace-warn \
|
||||||
"(defcustom comp-libgccjit-reproducer nil" \
|
"(defcustom comp-libgccjit-reproducer nil" \
|
||||||
"(setq native-comp-driver-options '(${backendPath}))
|
"(setq native-comp-driver-options '(${backendPath}))
|
||||||
(defcustom comp-libgccjit-reproducer nil"
|
(defcustom comp-libgccjit-reproducer nil"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue