···109109 nativeBuildInputs = [ copyDesktopItems makeWrapper wrapGAppsHook ];
110110 buildInputs = [ gtk3 gnome.adwaita-icon-theme ];
111111112112+ # avoid double-wrapping
113113+ dontWrapGApps = true;
114114+112115 installPhase = ''
113116 runHook preInstall
114117···145148146149 # GitKraken expects the CA bundle to be located in the bundled git directory. Since we replace it with
147150 # the one from nixpkgs, which doesn't provide a CA bundle, we need to explicitly set its location at runtime
148148- makeWrapper $out/share/${pname}/gitkraken $out/bin/gitkraken --set GIT_SSL_CAINFO "${cacert}/etc/ssl/certs/ca-bundle.crt"
151151+ makeWrapper $out/share/${pname}/gitkraken $out/bin/gitkraken \
152152+ --set GIT_SSL_CAINFO "${cacert}/etc/ssl/certs/ca-bundle.crt" \
153153+ "''${gappsWrapperArgs[@]}"
149154 '';
150155 };
151156