-
-
Save grahamc/1e83e4ff044b49e2980c2bc487696ac3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emacs = { | |
buildOrg = {emacs ? emacs25-nox, init ? ./init.org}: | |
runCommand "init.el" | |
{ buildInputs = [ emacs ]; } | |
'' | |
mkdir -p $out; | |
ln -s "${init}" ./init.org; | |
emacs -Q --script "${./assets/org-build.el}" -f make-init-el; | |
cp init.el $out; | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment