twelf: fix emacs mode

This commit is contained in:
Dan Peebles 2016-09-08 23:11:36 -04:00
parent c1d3c10607
commit f285ce8fed

View file

@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
rsync -av bin/{*,.heap} $out/bin/
bin/.mkexec ${smlnj}/bin/sml $out/ twelf-server twelf-server
substituteInPlace emacs/twelf-init.el \
--replace '(concat twelf-root "emacs")' '(concat twelf-root "share/emacs/site-lisp/twelf")'
mkdir -p $out/share/emacs/site-lisp/twelf/
rsync -av emacs/ $out/share/emacs/site-lisp/twelf/