From 42e6e9593abf501682001ffdd3fe8870bcd587fa Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Wed, 19 Jun 2024 08:02:53 +1000 Subject: [PATCH] chore: update Nix scripts to at least build GUI client (#5423) I tried to run the GUI client on my system but I think my glibc version is too recent (2.38) and thus, it crashes after clicking on "Login". These changes to the Nix script are necessary to at least build the client. --- scripts/nix/flake.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/nix/flake.nix b/scripts/nix/flake.nix index d88d671a1..f7e95ea74 100644 --- a/scripts/nix/flake.nix +++ b/scripts/nix/flake.nix @@ -6,7 +6,7 @@ rust-overlay.url = "github:oxalica/rust-overlay"; }; - outputs = { self, nixpkgs, flake-utils, rust-overlay, ... } @ inputs: + outputs = { nixpkgs, flake-utils, rust-overlay, ... } @ inputs: flake-utils.lib.eachDefaultSystem ( system: @@ -34,6 +34,7 @@ dbus openssl_3 librsvg + libappindicator-gtk3 ]; packages = with pkgs; [ @@ -47,11 +48,12 @@ libsoup webkitgtk librsvg - libappindicator-gtk3 + gnome.zenity + desktop-file-utils ]; mkShellWithRustVersion = rustVersion: pkgs.mkShell { - packages = [ pkgs.cargo-tauri pkgs.iptables cargo-udeps ]; + packages = [ pkgs.cargo-tauri pkgs.iptables pkgs.nodePackages.pnpm cargo-udeps ]; buildInputs = rustVersion ++ packages; name = "rust-env"; src = ../../rust;