summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-08-01 15:24:20 +0200
committerPeter Simons <simons@cryp.to>2017-08-01 15:25:19 +0200
commitef6849ca63ffa01e10aa28ade7d8afff7a856922 (patch)
tree3fe8b5c8d92efe9906dd6711f5cb16156ea12255 /pkgs/development
parent92a40d22711ac22b3b1dd0cf28e798e225e93661 (diff)
downloadnixlib-ef6849ca63ffa01e10aa28ade7d8afff7a856922.tar
nixlib-ef6849ca63ffa01e10aa28ade7d8afff7a856922.tar.gz
nixlib-ef6849ca63ffa01e10aa28ade7d8afff7a856922.tar.bz2
nixlib-ef6849ca63ffa01e10aa28ade7d8afff7a856922.tar.lz
nixlib-ef6849ca63ffa01e10aa28ade7d8afff7a856922.tar.xz
nixlib-ef6849ca63ffa01e10aa28ade7d8afff7a856922.tar.zst
nixlib-ef6849ca63ffa01e10aa28ade7d8afff7a856922.zip
structured-haskell-mode: fix location of the "site-lisp" symlink
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 43270465775e..bacaa581a68e 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -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;