diff options
author | Peter Simons <simons@cryp.to> | 2017-08-01 15:24:57 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2017-08-01 15:25:19 +0200 |
commit | 4fe328c6cac90d0e8500a1f489db8a1728af32e5 (patch) | |
tree | f3bc59170fcae21698f9d24e99b6ee53630144ee /pkgs/development/haskell-modules/configuration-common.nix | |
parent | ef6849ca63ffa01e10aa28ade7d8afff7a856922 (diff) | |
download | nixlib-4fe328c6cac90d0e8500a1f489db8a1728af32e5.tar nixlib-4fe328c6cac90d0e8500a1f489db8a1728af32e5.tar.gz nixlib-4fe328c6cac90d0e8500a1f489db8a1728af32e5.tar.bz2 nixlib-4fe328c6cac90d0e8500a1f489db8a1728af32e5.tar.lz nixlib-4fe328c6cac90d0e8500a1f489db8a1728af32e5.tar.xz nixlib-4fe328c6cac90d0e8500a1f489db8a1728af32e5.tar.zst nixlib-4fe328c6cac90d0e8500a1f489db8a1728af32e5.zip |
haskell-hindent: fix location of the "site-lisp" symlink
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index bacaa581a68e..9f24d3480640 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -618,14 +618,14 @@ self: super: { 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: { # We 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}-${drv.version}/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 ''; doCheck = false; # https://github.com/chrisdone/hindent/issues/299 })).override { |