Make it compatible with ocaml module

Fixes: #12
This commit is contained in:
László Vaskó
2020-06-02 21:12:40 +02:00
parent 0254193a28
commit 1c1e3ce4c0

View File

@@ -111,6 +111,19 @@ let
ob-racket = self.straightBuild {
pname = "ob-racket";
};
# dune has a nontrivial derivation, which does not buildable from the melpa
# wrapper falling back to the one in nixpkgs
dune = pkgs.dune.overrideAttrs (old: {
# Emacs derivations require an ename attribute
ename = old.pname;
# Need to adjust paths here match what doom expects
postInstall = ''
mkdir -p $out/share/emacs/site-lisp/editor-integration
ln -snf $out/share/emacs/site-lisp $out/share/emacs/site-lisp/editor-integration/emacs
'';
});
};
# Stage 1: prepare source for byte-compilation