Bump straight.el (#2)
* Bump straight.el * Print stacktrace if build fails * Print stacktraces to stderr Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com> Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fb8dd5c44c
commit
ad10364d64
@@ -74,12 +74,13 @@ let
|
|||||||
|
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
${(install "${straightDir}/repos" packages)}
|
${(install "${straightDir}/repos" packages)}
|
||||||
emacs -q \
|
emacs -q \
|
||||||
--batch \
|
--batch \
|
||||||
--directory=${epkgs.straight}/share/emacs/site-lisp \
|
--directory=${epkgs.straight}/share/emacs/site-lisp \
|
||||||
--load=${./setup.el} \
|
--load=${./setup.el} \
|
||||||
${concatMapStringsSep "\n" (f: "--load=${f}") emacsLoadFiles} \
|
${concatMapStringsSep "\n" (f: "--load=${f}") emacsLoadFiles} \
|
||||||
--eval="(nix-straight-build-packages \"${emacsInitFile}\")" ${escapeShellArgs emacsArgs}
|
--eval="(nix-straight-build-packages \"${emacsInitFile}\")" ${escapeShellArgs emacsArgs} \
|
||||||
|
|| (cat $out/logs/cli.doom.*.error 1>&2 && false) # print a proper stacktrace if things fail
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
@@ -7,7 +7,7 @@ trivialBuild rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "raxod502";
|
owner = "raxod502";
|
||||||
repo = "straight.el";
|
repo = "straight.el";
|
||||||
rev = "4517e118ee43f849f708025dbb2cf4f281793121";
|
rev = "e20a44c4ac5c04896aecd43a5fdd12c67527c69e";
|
||||||
sha256 = "sha256-KIOdXoujXZkhWUR+Sql9FOCccnwGCUMAS0zlAQR8sEU=";
|
sha256 = "sha256-kNBdlEfG+RAE+iA8OKOhqmPiZEjjV24r6ziE9Y5ZdVg=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user