From 3047f0136dd4839f9a93ef851fe81617242006bd Mon Sep 17 00:00:00 2001 From: zendo Date: Thu, 31 Aug 2023 21:37:23 +0800 Subject: [PATCH] notes: 2.2.0 -> 2.2.1 --- pkgs/applications/office/notes/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/office/notes/default.nix b/pkgs/applications/office/notes/default.nix index 7ddc7d98dda7..abd93813a725 100644 --- a/pkgs/applications/office/notes/default.nix +++ b/pkgs/applications/office/notes/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "notes"; - version = "2.2.0"; + version = "2.2.1"; src = fetchFromGitHub { owner = "nuttyartist"; repo = "notes"; rev = "v${finalAttrs.version}"; - hash = "sha256-ZfAm77UHyjs2aYOYb+AhKViz6uteb7+KKSedonSiMkY="; + hash = "sha256-ShChF87ysRoisKshY86kJTa3ZAiQhBOImuL8OsEqgBo="; fetchSubmodules = true; }; @@ -34,11 +34,7 @@ stdenv.mkDerivation (finalAttrs: { Cocoa ]; - postInstall = lib.optionalString stdenv.isLinux '' - # temporary fix: https://github.com/nuttyartist/notes/issues/613 - substituteInPlace $out/share/applications/io.github.nuttyartist.notes.desktop \ - --replace 'Exec=notes' 'Exec=env QT_STYLE_OVERRIDE= notes' - '' + lib.optionalString stdenv.isDarwin '' + postInstall = lib.optionalString stdenv.isDarwin '' mkdir $out/Applications mv $out/bin/Notes.app $out/Applications '';