about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2024-10-03T18·54+0200
committerclbot <clbot@tvl.fyi>2024-12-23T23·12+0000
commit8b9e4badf0cc05d611104a22370ac9f3f44ba4c3 (patch)
tree73ece52fd1b0d1fc6780025f2e40ea693338cb8b
parentb50dad6e31590baab3ae4e52a775cc0e68415ef2 (diff)
refactor(aspen/orgExportHTML): use default emacs r/9019
In r/4000, I switched orgExportHTML to Emacs 28 (which bundles org by
default) when nixpkgs defaulted to Emacs 27. Since nixpkgs now uses
Emacs 29 by default, this is no longer necessary.

Change-Id: I6d700e8508be77a1b9866557403a5a4ecaa005f7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12569
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: aspen <root@gws.fyi>
-rw-r--r--users/aspen/web/orgExportHTML.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/users/aspen/web/orgExportHTML.nix b/users/aspen/web/orgExportHTML.nix
index 3a8e35f22d17..3156b527e49c 100644
--- a/users/aspen/web/orgExportHTML.nix
+++ b/users/aspen/web/orgExportHTML.nix
@@ -3,12 +3,6 @@
 with pkgs;
 with lib;
 
-let
-
-  emacs = pkgs.emacs28;
-
-in
-
 opts:
 
 let
@@ -42,7 +36,7 @@ in
 runCommand outName { inherit src; } ''
   buildFile() {
     cp "$1" file.org
-    ${emacs}/bin/emacs --batch \
+    ${pkgs.emacs}/bin/emacs --batch \
       --load ${./config.el} \
       --visit file.org \
       --eval "(progn