tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
notion: 4.0.3 -> 4.0.4
removes the need for patches
Arnout Engelen
8 months ago
13f89696
292fa7d4
+2
-12
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
no
notion
package.nix
+2
-12
pkgs/by-name/no/notion/package.nix
···
21
21
}:
22
22
stdenv.mkDerivation (finalAttrs: {
23
23
pname = "notion";
24
24
-
version = "4.0.3";
24
24
+
version = "4.0.4";
25
25
26
26
src = fetchFromGitHub {
27
27
owner = "raboof";
28
28
repo = "notion";
29
29
tag = finalAttrs.version;
30
30
-
hash = "sha256-Ll4thDS8fHxkm2IuGjePPVPyPPrz7yDzpKVloFuk/yE=";
30
30
+
hash = "sha256-L7WL8zn1Qkf5sqrhqZJqFe4B1l9ULXI3pt3Jpc87huk=";
31
31
};
32
32
-
33
33
-
postPatch = ''
34
34
-
# Fix build failure due missing headers
35
35
-
sed -i '1i#define _POSIX_C_SOURCE 200809L' mod_notionflux/notionflux/notionflux.c
36
36
-
sed -i '2i#include <stdio.h>' mod_notionflux/notionflux/notionflux.c
37
37
-
sed -i '3i#include <string.h>' mod_notionflux/notionflux/notionflux.c
38
38
-
39
39
-
# error: 'PATH_MAX' undeclared
40
40
-
sed 1i'#include <linux/limits.h>' -i mod_notionflux/notionflux/notionflux.c
41
41
-
'';
42
32
43
33
nativeBuildInputs = [
44
34
gettext