diff options
author | Benjamin Staffin <benley@gmail.com> | 2017-02-06 17:54:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-06 17:54:24 -0500 |
commit | 35fdfa85973904ba58b88e0991498b6d3f521ed3 (patch) | |
tree | ae67102cb5ba403a14926d3e846898bdc10ee0a3 /pkgs | |
parent | 6b81954e9b45b12e3d2fc0534659c8a9bf91d748 (diff) | |
parent | 24716fe9541be7f8cd5336aafd2231e8eed7817b (diff) | |
download | nixpkgs-35fdfa85973904ba58b88e0991498b6d3f521ed3.tar nixpkgs-35fdfa85973904ba58b88e0991498b6d3f521ed3.tar.gz nixpkgs-35fdfa85973904ba58b88e0991498b6d3f521ed3.tar.bz2 nixpkgs-35fdfa85973904ba58b88e0991498b6d3f521ed3.tar.lz nixpkgs-35fdfa85973904ba58b88e0991498b6d3f521ed3.tar.xz nixpkgs-35fdfa85973904ba58b88e0991498b6d3f521ed3.tar.zst nixpkgs-35fdfa85973904ba58b88e0991498b6d3f521ed3.zip |
Merge pull request #22453 from benley/vim-desktop
vim: Create xdg apps/icons dirs so .desktop items get installed
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/editors/vim/configurable.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix index ee33c3e3070..9c0becc4729 100644 --- a/pkgs/applications/editors/vim/configurable.nix +++ b/pkgs/applications/editors/vim/configurable.nix @@ -161,6 +161,10 @@ composableDerivation { // edf "gtktest" "gtktest" { } #Do not try to compile and run a test GTK program */ + preInstall = '' + mkdir -p $out/share/applications $out/share/icons/{hicolor,locolor}/{16x16,32x32,48x48}/apps + ''; + postInstall = stdenv.lib.optionalString stdenv.isLinux '' patchelf --set-rpath \ "$(patchelf --print-rpath $out/bin/vim):${lib.makeLibraryPath buildInputs}" \ |