git.iko.soy/typeable/nixpkgs
on master help sign in
twelf: fix emacs mode
commitf285ce8fed1f585325ab7b6c1138db4d9ae06909 authorDan Peebles <pumpkin@me.com> dateThu 8 Sep 2016, 23:11 (10 years ago) parentc1d3c10
1 file changed+3
pkgs/applications/science/logic/twelf/default.nix+3
pkgs/applications/science/logic/twelf/default.nix+3
@@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
2121 rsync -av bin/{*,.heap} $out/bin/
2222 bin/.mkexec ${smlnj}/bin/sml $out/ twelf-server twelf-server
2323
24+ substituteInPlace emacs/twelf-init.el \
25+ --replace '(concat twelf-root "emacs")' '(concat twelf-root "share/emacs/site-lisp/twelf")'
26+
2427 mkdir -p $out/share/emacs/site-lisp/twelf/
2528 rsync -av emacs/ $out/share/emacs/site-lisp/twelf/
2629