commit
ad21565ce2
5 changed files with 10 additions and 40 deletions
|
|
@ -237,8 +237,8 @@ let
|
||||||
&& p ? recipe.repo
|
&& p ? recipe.repo
|
||||||
&& (p.recipe.host or null) == null
|
&& (p.recipe.host or null) == null
|
||||||
then p.recipe.repo
|
then p.recipe.repo
|
||||||
else epkg.src.gitRepoUrl
|
else extraUrls.${name}
|
||||||
or extraUrls.${name}
|
or epkg.src.gitRepoUrl
|
||||||
or (if isElpa then "https://github.com/emacs-straight/${name}"
|
or (if isElpa then "https://github.com/emacs-straight/${name}"
|
||||||
else (let
|
else (let
|
||||||
recipe = lib.generators.toPretty {} (p.recipe or "missing");
|
recipe = lib.generators.toPretty {} (p.recipe or "missing");
|
||||||
|
|
|
||||||
|
|
@ -162,12 +162,6 @@
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
# Fix /build/ leaking into byte-compiled files (patch accepted upstream).
|
|
||||||
phpactor = esuper.phpactor.overrideAttrs (attrs: {
|
|
||||||
patches = (attrs.patches or [ ]) ++ [
|
|
||||||
./elisp-patches/0001-Do-not-call-locate-user-emacs-file-when-compiling.patch
|
|
||||||
];
|
|
||||||
});
|
|
||||||
# https://github.com/emacs-taskrunner/helm-taskrunner/issues/2
|
# https://github.com/emacs-taskrunner/helm-taskrunner/issues/2
|
||||||
# TODO: make our generated melpaBuild available in esuper?
|
# TODO: make our generated melpaBuild available in esuper?
|
||||||
# (upstream unchanged for 5 years, not urgent to make this robust...)
|
# (upstream unchanged for 5 years, not urgent to make this robust...)
|
||||||
|
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
From 9d0a3eb98982c38bfe1e1872498538b103ad06cd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Marien Zwart <marienz@google.com>
|
|
||||||
Date: Sun, 7 Apr 2024 17:46:36 +1000
|
|
||||||
Subject: [PATCH] Do not call locate-user-emacs-file when compiling
|
|
||||||
|
|
||||||
The default value of phpactor-install-directory is relative to the
|
|
||||||
user's user-emacs-directory. Using eval-when-compile here hardcodes the
|
|
||||||
wrong directory if a separate build user is used.
|
|
||||||
---
|
|
||||||
phpactor.el | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/phpactor.el b/phpactor.el
|
|
||||||
index 7e7c036..96de425 100644
|
|
||||||
--- a/phpactor.el
|
|
||||||
+++ b/phpactor.el
|
|
||||||
@@ -68,8 +68,7 @@
|
|
||||||
|
|
||||||
;;;###autoload
|
|
||||||
(defcustom phpactor-install-directory
|
|
||||||
- (eval-when-compile
|
|
||||||
- (expand-file-name (locate-user-emacs-file "phpactor/")))
|
|
||||||
+ (expand-file-name (locate-user-emacs-file "phpactor/"))
|
|
||||||
"Directory for setup Phactor. (default `~/.emacs.d/phpactor/')."
|
|
||||||
:type 'directory)
|
|
||||||
|
|
||||||
--
|
|
||||||
2.42.0
|
|
||||||
|
|
||||||
|
|
@ -53,5 +53,10 @@
|
||||||
# making this a non-issue for Doom (since there have been no significant changes to git-commit).
|
# making this a non-issue for Doom (since there have been no significant changes to git-commit).
|
||||||
# CI should fail again the next time Doom updates magit, so this won't go stale.
|
# CI should fail again the next time Doom updates magit, so this won't go stale.
|
||||||
git-commit = "ea0f07e54967197ac0b072a69ba314314a4080c1";
|
git-commit = "ea0f07e54967197ac0b072a69ba314314a4080c1";
|
||||||
|
|
||||||
|
# Temporarily pin opencl-mode. It renamed to opencl-c-mode, which triggers a build failure:
|
||||||
|
#
|
||||||
|
# error("%s" "Single file opencl-c-mode.el does not match package name opencl-mode")
|
||||||
|
opencl-mode = "15091eff92c33ee0d1ece40eb99299ef79fee92d";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -3,11 +3,11 @@
|
||||||
"doomemacs": {
|
"doomemacs": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1719177351,
|
"lastModified": 1719458466,
|
||||||
"narHash": "sha256-7NwEb9wMIDm/tF1PBkt1+fN5z23jDDgwyiHfdOvidug=",
|
"narHash": "sha256-R4v38GEEOhgp56xq6jG35s52fpjsggoiA77Q7pz4/RI=",
|
||||||
"owner": "doomemacs",
|
"owner": "doomemacs",
|
||||||
"repo": "doomemacs",
|
"repo": "doomemacs",
|
||||||
"rev": "a99c6b9036bde2f60697ce9f2ac259dfa2266dbf",
|
"rev": "a24ff58a5afea0f2ba1bab85cc39f5c49a688e97",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue