Fix revealjs build for org +present
Noticed through upcoming test coverage improvements.
This commit is contained in:
parent
f7a4b53913
commit
78ad78072d
3 changed files with 21 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
esuper,
|
||||
git,
|
||||
makeWrapper,
|
||||
stdenvNoCC,
|
||||
writeText,
|
||||
}:
|
||||
{
|
||||
|
|
@ -185,6 +186,17 @@
|
|||
./elisp-patches/helm-taskrunner-version.patch
|
||||
];
|
||||
};
|
||||
# reveal.js is not actually an ELisp package. Doom gets straight.el to install it,
|
||||
# then makes org-re-reveal use it as data.
|
||||
revealjs = stdenvNoCC.mkDerivation {
|
||||
pname = "revealjs";
|
||||
version = "9999snapshot";
|
||||
buildPhase = ''
|
||||
siteDir=$out/share/emacs/site-lisp/revealjs
|
||||
mkdir -p $siteDir
|
||||
cp -r css dist js plugin $siteDir/
|
||||
'';
|
||||
};
|
||||
# Make it byte-compile properly.
|
||||
code-review = esuper.code-review.overrideAttrs (attrs: {
|
||||
nativeBuildInputs = (attrs.nativeBuildInputs or [ ]) ++ [ git ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue