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:
Thiago Kenji Okada
2022-10-28 19:43:30 +01:00
committed by GitHub
parent fb8dd5c44c
commit ad10364d64
2 changed files with 5 additions and 4 deletions

View File

@ -74,12 +74,13 @@ let
mkdir -p $out
${(install "${straightDir}/repos" packages)}
emacs -q \
emacs -q \
--batch \
--directory=${epkgs.straight}/share/emacs/site-lisp \
--load=${./setup.el} \
${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
'';

View File

@ -7,7 +7,7 @@ trivialBuild rec {
src = fetchFromGitHub {
owner = "raxod502";
repo = "straight.el";
rev = "4517e118ee43f849f708025dbb2cf4f281793121";
sha256 = "sha256-KIOdXoujXZkhWUR+Sql9FOCccnwGCUMAS0zlAQR8sEU=";
rev = "e20a44c4ac5c04896aecd43a5fdd12c67527c69e";
sha256 = "sha256-kNBdlEfG+RAE+iA8OKOhqmPiZEjjV24r6ziE9Y5ZdVg=";
};
}