-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
commercial-emacs fails to build #389
Comments
My mistake, I should've confirmed with the stable branch before pushing. @bandithedoge could you please provide the most recent revision where The error observed here occurs because diff --git a/overlays/emacs.nix b/overlays/emacs.nix
index afe0cc8f..da54f4f1 100644
--- a/overlays/emacs.nix
+++ b/overlays/emacs.nix
@@ -33,9 +33,11 @@ let
[ "--enable-check-lisp-object-type" ];
postPatch = old.postPatch + ''
- substituteInPlace lisp/loadup.el \
- --replace '(emacs-repository-get-version)' '"${repoMeta.rev}"' \
- --replace '(emacs-repository-get-branch)' '"master"'
+ if [ -f "lisp/loadup.el" ]; then
+ substituteInPlace lisp/loadup.el \
+ --replace '(emacs-repository-get-version)' '"${repoMeta.rev}"' \
+ --replace '(emacs-repository-get-branch)' '"master"'
+ fi
'' +
# XXX: Maybe remove when emacsLsp updates to use Emacs
# 29. We already have logic in upstream Nixpkgs to use
--
2.43.0
|
"x86_64-linux"
Linux 6.7.5-cachyos, NixOS, 24.05 (Uakari), 24.05.20240218.045b51a
yes
yes
nix-env (Nix) 2.18.1
""
"nixos, nixpkgs"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: