@@ -38,6 +38,10 @@ stdenv.mkDerivation rec {
3838 sha256 = "08ldgyxv9216dgr8y9asqd7j2y82y9yqnqhkqaxc9i8a67yz1gzy";
3939 })
4040 ];
41+ postPatch = ''
42+ chmod +x meson_post_install.py
43+ patchShebangs meson_post_install.py
44+ '';
4145
4246 nativeBuildInputs = [
4347 meson
@@ -64,10 +68,8 @@ stdenv.mkDerivation rec {
6468 json-glib
6569 ];
6670
67− postPatch = ''
68− chmod +x meson_post_install.py
69− patchShebangs meson_post_install.py
70− '';
71+ # Fix parallel building: missing dependency from src/gtd-application.c
72+ preBuild = "ninja src/gtd-vcs-identifier.h";
7173
7274 passthru = {
7375 updateScript = gnome3.updateScript {