Commit 9c3a8dca authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

gpclient: don't install .desktop on darwin

parent e1b79482
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  glib-networking,
  stdenv,
  gpauth,
  makeWrapper,
  autoconf,
@@ -69,7 +71,7 @@ rustPlatform.buildRustPackage {
      --replace-fail /usr/bin/gpclient gpclient
  '';

  postInstall = ''
  postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
    mkdir -p $out/share/applications
    cp packaging/files/usr/share/applications/gpgui.desktop $out/share/applications/gpgui.desktop
  '';