From 13f89696ea547abb0557e296eaf2951c93b0b76f Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Thu, 22 May 2025 13:25:54 +0200 Subject: [PATCH] notion: 4.0.3 -> 4.0.4 removes the need for patches --- pkgs/by-name/no/notion/package.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/no/notion/package.nix b/pkgs/by-name/no/notion/package.nix index da7a28082e51..7d52d18312b3 100644 --- a/pkgs/by-name/no/notion/package.nix +++ b/pkgs/by-name/no/notion/package.nix @@ -21,25 +21,15 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "notion"; - version = "4.0.3"; + version = "4.0.4"; src = fetchFromGitHub { owner = "raboof"; repo = "notion"; tag = finalAttrs.version; - hash = "sha256-Ll4thDS8fHxkm2IuGjePPVPyPPrz7yDzpKVloFuk/yE="; + hash = "sha256-L7WL8zn1Qkf5sqrhqZJqFe4B1l9ULXI3pt3Jpc87huk="; }; - postPatch = '' - # Fix build failure due missing headers - sed -i '1i#define _POSIX_C_SOURCE 200809L' mod_notionflux/notionflux/notionflux.c - sed -i '2i#include ' mod_notionflux/notionflux/notionflux.c - sed -i '3i#include ' mod_notionflux/notionflux/notionflux.c - - # error: 'PATH_MAX' undeclared - sed 1i'#include ' -i mod_notionflux/notionflux/notionflux.c - ''; - nativeBuildInputs = [ gettext groff