haskell-hindent: fix location of the "site-lisp" symlink
This commit is contained in:
parent
ef6849ca63
commit
4fe328c6ca
@ -618,14 +618,14 @@ self: super: {
|
|||||||
haskell-src-exts = self.haskell-src-exts_1_19_1;
|
haskell-src-exts = self.haskell-src-exts_1_19_1;
|
||||||
};
|
};
|
||||||
|
|
||||||
# # Make elisp files available at a location where people expect it.
|
# Make elisp files available at a location where people expect it.
|
||||||
hindent = (overrideCabal super.hindent (drv: {
|
hindent = (overrideCabal super.hindent (drv: {
|
||||||
# We cannot easily byte-compile these files, unfortunately, because they
|
# We cannot easily byte-compile these files, unfortunately, because they
|
||||||
# depend on a new version of haskell-mode that we don't have yet.
|
# depend on a new version of haskell-mode that we don't have yet.
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
local lispdir=( "$out/share/"*"-${self.ghc.name}/${drv.pname}-${drv.version}/elisp" )
|
local lispdir=( "$data/share/${self.ghc.name}/"*"/${drv.pname}-"*"/elisp" )
|
||||||
mkdir -p $out/share/emacs
|
mkdir -p $data/share/emacs
|
||||||
ln -s $lispdir $out/share/emacs/site-lisp
|
ln -s $lispdir $data/share/emacs/site-lisp
|
||||||
'';
|
'';
|
||||||
doCheck = false; # https://github.com/chrisdone/hindent/issues/299
|
doCheck = false; # https://github.com/chrisdone/hindent/issues/299
|
||||||
})).override {
|
})).override {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user