diff options
author | Stefan Junker <mail@stefanjunker.de> | 2023-09-06 20:58:16 +0200 |
---|---|---|
committer | Stefan Junker <mail@stefanjunker.de> | 2023-09-06 20:58:16 +0200 |
commit | 0f94ac780f0a72a92fa2b8d95cf78d8421cf52a2 (patch) | |
tree | 1ecb584d5eb3d0b24ffd1f12b915e89a9b5a1914 /pkgs/applications/misc/holochain-launcher | |
parent | 542ace3e66c44494d0e9629483fabeeceea55e2c (diff) |
holochain-launcher: fix devtools and TLS
- setting XDG_DATA_DIRS fixes the devtools - glib-networking fixes TLS
Diffstat (limited to 'pkgs/applications/misc/holochain-launcher')
-rw-r--r-- | pkgs/applications/misc/holochain-launcher/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/misc/holochain-launcher/default.nix b/pkgs/applications/misc/holochain-launcher/default.nix index fe099d06cd3c5..6d9697914cbd7 100644 --- a/pkgs/applications/misc/holochain-launcher/default.nix +++ b/pkgs/applications/misc/holochain-launcher/default.nix @@ -8,6 +8,8 @@ , webkitgtk , libappindicator , wrapGAppsHook +, shared-mime-info +, glib-networking }: stdenv.mkDerivation rec { @@ -30,6 +32,8 @@ stdenv.mkDerivation rec { openssl webkitgtk libappindicator + + glib-networking ]; unpackCmd = "dpkg-deb -x $curSrc source"; @@ -41,6 +45,11 @@ stdenv.mkDerivation rec { preFixup = '' patchelf --add-needed "libappindicator3.so" "$out/bin/holochain-launcher" + + # without this the DevTools will just display an unparsed HTML file (see https://github.com/tauri-apps/tauri/issues/5711#issuecomment-1336409601) + gappsWrapperArgs+=( + --prefix XDG_DATA_DIRS : "${shared-mime-info}/share" + ) ''; meta = with lib; { |