diff options
author | Fabian Möller <fabianm88@gmail.com> | 2020-11-27 13:44:18 +0100 |
---|---|---|
committer | Milan Pässler <milan@petabyte.dev> | 2020-11-29 04:03:39 +0100 |
commit | ab345bed75d14f48443f18992d4439c5a7359f0b (patch) | |
tree | 1416a4a244ae0b9ac5daf5b82c53ef72bf91f38d /pkgs | |
parent | c3598cc7d33b9d4eb2643d28f266a971aac39cb3 (diff) |
softmaker-office: use copyDesktopItems hook
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/office/softmaker/generic.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/applications/office/softmaker/generic.nix b/pkgs/applications/office/softmaker/generic.nix index 29ca574a4174..fbde26058e1b 100644 --- a/pkgs/applications/office/softmaker/generic.nix +++ b/pkgs/applications/office/softmaker/generic.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, autoPatchelfHook, makeDesktopItem, makeWrapper +{ stdenv, fetchurl, autoPatchelfHook, makeDesktopItem, makeWrapper, copyDesktopItems # Dynamic Libraries , curl, libGL, libX11, libXext, libXmu, libXrandr, libXrender @@ -27,6 +27,7 @@ in stdenv.mkDerivation { nativeBuildInputs = [ autoPatchelfHook + copyDesktopItems makeWrapper ]; @@ -110,17 +111,14 @@ in stdenv.mkDerivation { # remove broken symbolic links find $out -xtype l -ls -exec rm {} \; - # Add desktop items - ${desktopItems.planmaker.buildCommand} - ${desktopItems.presentations.buildCommand} - ${desktopItems.textmaker.buildCommand} - # Add mime types install -D -t $out/share/mime/packages ${pname}/mime/softmaker-*office*${shortEdition}.xml runHook postInstall ''; + desktopItems = builtins.attrValues desktopItems; + meta = with stdenv.lib; { description = "An office suite with a word processor, spreadsheet and presentation program"; homepage = "https://www.softmaker.com/"; |