···12let
13 inherit (stdenv.hostPlatform) system;
14 pname = "obsidian";
15- version = "1.4.11";
16 appname = "Obsidian";
17 meta = with lib; {
18 description = "A powerful knowledge base that works on top of a local folder of plain text Markdown files";
···25 filename = if stdenv.isDarwin then "Obsidian-${version}-universal.dmg" else "obsidian-${version}.tar.gz";
26 src = fetchurl {
27 url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
28- sha256 = if stdenv.isDarwin then "sha256-bJLWXdeVzbVrb8jmIRpyQG6a5H1jMydhO9ioHOGk3Ms=" else "sha256-Z4DojO90PAlGGsItcZugPsi+48UPnOjvCn2BIzrDQpc=";
29 };
3031 icon = fetchurl {
···12let
13 inherit (stdenv.hostPlatform) system;
14 pname = "obsidian";
15+ version = "1.4.13";
16 appname = "Obsidian";
17 meta = with lib; {
18 description = "A powerful knowledge base that works on top of a local folder of plain text Markdown files";
···25 filename = if stdenv.isDarwin then "Obsidian-${version}-universal.dmg" else "obsidian-${version}.tar.gz";
26 src = fetchurl {
27 url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/${filename}";
28+ sha256 = if stdenv.isDarwin then "sha256-FMaEq99D8bCQF91drHrB5icXyQIdnWIwhAM9yuG97aA=" else "sha256-TWDmoXpBhBrrdbqS6dbFq4BxC2Bshap3gbnB4/ONrQE=";
29 };
3031 icon = fetchurl {
···1+--- a/src/common/exec.c
2++++ b/src/common/exec.c
3+@@ -238,6 +238,9 @@
4+ static int
5+ normalize_exec_path(char *path)
6+ {
7++ // On NixOS we *want* stuff relative to symlinks.
8++ return 0;
9++
10+ /*
11+ * We used to do a lot of work ourselves here, but now we just let
12+ * realpath(3) do all the heavy lifting.