forked from mirrors/nixpkgs
structured-haskell-mode: fix location of the "site-lisp" symlink
This commit is contained in:
parent
92a40d2271
commit
ef6849ca63
|
@ -610,9 +610,9 @@ self: super: {
|
|||
# cannot easily byte-compile these files, unfortunately, because they
|
||||
# depend on a new version of haskell-mode that we don't have yet.
|
||||
postInstall = ''
|
||||
local lispdir=( "$out/share/"*"-${self.ghc.name}/${drv.pname}-"*"/elisp" )
|
||||
mkdir -p $out/share/emacs
|
||||
ln -s $lispdir $out/share/emacs/site-lisp
|
||||
local lispdir=( "$data/share/${self.ghc.name}/"*"/${drv.pname}-"*"/elisp" )
|
||||
mkdir -p $data/share/emacs
|
||||
ln -s $lispdir $data/share/emacs/site-lisp
|
||||
'';
|
||||
})).override {
|
||||
haskell-src-exts = self.haskell-src-exts_1_19_1;
|
||||
|
|
Loading…
Reference in a new issue