summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 0191615..3a2e474 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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)'
'';