diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-03-03 14:19:43 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-03-03 14:19:43 -0800 |
| commit | a65c39e97bb47a415707041340f9c4fd09450550 (patch) | |
| tree | 1dc5d5e2a4dd0e950d66eb3bec1225b20fd30801 /flake.nix | |
| parent | 8b4440ed38648c0c77129144ab2868f511448735 (diff) | |
fix emacs in submodule
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -41,15 +41,22 @@ fi website = pkgs.stdenv.mkDerivation { name = "org-publish-website"; src = pkgs.lib.cleanSource ./.; - buildInputs = [ ci-emacs ]; + buildInputs = [ + ci-emacs + pkgs.git + ]; buildPhase = '' +export HOME=$TMPDIR/fake-home +mkdir -p $HOME/.emacs.d mkdir -p public +ln -s "$(pwd)" $HOME/monorepo emacs -Q --batch \ + --eval '(setq noninteractive t)' \ --eval '(setq system-email "ci@dummy.local")' \ --eval '(setq system-username "ci-runner")' \ --eval '(setq system-fullname "CI Pipeline")' \ --eval '(setq system-gpgkey "00000000")' \ - -l ./nix/init.el \ + -l ${hyprnixmacs}/init.el \ --eval '(org-publish-all t)' ''; |
