Tauri: Difference between revisions

Pigs (talk | contribs)
Add category development
Mrid22 (talk | contribs)
m i added rustc as a package in the devshell, as its needed to run the dev server that tauri provides
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
   nativeBuildInputs = with pkgs; [
   nativeBuildInputs = with pkgs; [
     pkg-config
     pkg-config
     gobject-introspection
     wrapGAppsHook4
     cargo  
     cargo  
     cargo-tauri # Optional, Only needed if Tauri doesn't work through the traditional way.
     cargo-tauri # Optional, Only needed if Tauri doesn't work through the traditional way.
     nodejs # Optional, this is for if you have a js frontend
     nodejs # Optional, this is for if you have a js frontend
    rustc # Needed for dev server (npm tauri dev)
   ];
   ];


   buildInputs = with pkgs;[
   buildInputs = with pkgs; [
    at-spi2-atk
    atkmm
    cairo
    gdk-pixbuf
    glib
    gtk3
    harfbuzz
     librsvg
     librsvg
    libsoup_3
    pango
     webkitgtk_4_1
     webkitgtk_4_1
    openssl
   ];
   ];
   # shellHook = "";
 
   shellHook = ''
    export XDG_DATA_DIRS="$GSETTINGS_SCHEMAS_PATH" # Needed on Wayland to report the correct display scale
  '';
}
}