tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
notes: 2.2.0 -> 2.2.1
zendo
2 years ago
3047f013
e7f38be3
+3
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
office
notes
default.nix
+3
-7
pkgs/applications/office/notes/default.nix
···
10
11
stdenv.mkDerivation (finalAttrs: {
12
pname = "notes";
13
-
version = "2.2.0";
14
15
src = fetchFromGitHub {
16
owner = "nuttyartist";
17
repo = "notes";
18
rev = "v${finalAttrs.version}";
19
-
hash = "sha256-ZfAm77UHyjs2aYOYb+AhKViz6uteb7+KKSedonSiMkY=";
20
fetchSubmodules = true;
21
};
22
···
34
Cocoa
35
];
36
37
-
postInstall = lib.optionalString stdenv.isLinux ''
38
-
# temporary fix: https://github.com/nuttyartist/notes/issues/613
39
-
substituteInPlace $out/share/applications/io.github.nuttyartist.notes.desktop \
40
-
--replace 'Exec=notes' 'Exec=env QT_STYLE_OVERRIDE= notes'
41
-
'' + lib.optionalString stdenv.isDarwin ''
42
mkdir $out/Applications
43
mv $out/bin/Notes.app $out/Applications
44
'';
···
10
11
stdenv.mkDerivation (finalAttrs: {
12
pname = "notes";
13
+
version = "2.2.1";
14
15
src = fetchFromGitHub {
16
owner = "nuttyartist";
17
repo = "notes";
18
rev = "v${finalAttrs.version}";
19
+
hash = "sha256-ShChF87ysRoisKshY86kJTa3ZAiQhBOImuL8OsEqgBo=";
20
fetchSubmodules = true;
21
};
22
···
34
Cocoa
35
];
36
37
+
postInstall = lib.optionalString stdenv.isDarwin ''
0
0
0
0
38
mkdir $out/Applications
39
mv $out/bin/Notes.app $out/Applications
40
'';