diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-05-17 14:15:39 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-05-17 14:24:34 -0500 |
commit | 5583067fd8cef883aa75200fb4160e0909f3c8f8 (patch) | |
tree | 0eb3fe2061d358b33bb31a7caa018e9bfb277132 /pkgs/build-support/emacs | |
parent | 393219d00052dc47494d81a9619e25f1152314e5 (diff) | |
download | nixlib-5583067fd8cef883aa75200fb4160e0909f3c8f8.tar nixlib-5583067fd8cef883aa75200fb4160e0909f3c8f8.tar.gz nixlib-5583067fd8cef883aa75200fb4160e0909f3c8f8.tar.bz2 nixlib-5583067fd8cef883aa75200fb4160e0909f3c8f8.tar.lz nixlib-5583067fd8cef883aa75200fb4160e0909f3c8f8.tar.xz nixlib-5583067fd8cef883aa75200fb4160e0909f3c8f8.tar.zst nixlib-5583067fd8cef883aa75200fb4160e0909f3c8f8.zip |
emacsWithPackages: install support files
The wrapper needs to link the desktop file, icons, info and man pages into place so they will appear when emacsWithPackages is installed.
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r-- | pkgs/build-support/emacs/wrapper.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index 678ba4502112..4020a1aca337 100644 --- a/pkgs/build-support/emacs/wrapper.nix +++ b/pkgs/build-support/emacs/wrapper.nix @@ -66,6 +66,12 @@ stdenv.mkDerivation { makeWrapper "$prog" $out/bin/$(basename "$prog") \ --suffix EMACSLOADPATH ":" "$out/share/emacs/site-lisp:" done + + mkdir -p $out/share + # Link icons and desktop files into place + for dir in applications icons info man; do + ln -s $emacs/share/$dir $out/share/$dir + done ''; inherit (emacs) meta; } |