Skip to content

Commit

Permalink
build: emacs in nativeBuildInputs
Browse files Browse the repository at this point in the history
This puts emacs on the PATH in nix develop .#fromsource
  • Loading branch information
hraban committed Jul 24, 2024
1 parent 4ca8975 commit 17cdc53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
buildPhase = ''
# Remove the stale VCS copy
rm -f tomono
${myemacs}/bin/emacs -Q --script ./publish.el
emacs -Q --script ./publish.el
'';
# If you want to put the test program in the final bin
keepTest = false;
Expand All @@ -38,7 +38,7 @@
fi
cp index.html style.css $out/doc
'';
nativeBuildInputs = [ pkgs.makeWrapper ];
nativeBuildInputs = [ pkgs.makeWrapper myemacs ];
preFixup = ''
for f in $out/bin/* ; do
wrapProgram "$f" --suffix PATH : "${pkgs.git}/bin"
Expand Down

0 comments on commit 17cdc53

Please sign in to comment.