mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
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.
This commit is contained in:
parent
393219d000
commit
5583067fd8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user