Jump to content

Tauri: Difference between revisions

From NixOS Wiki
No edit summary
Almino (talk | contribs)
Adding nix-shell dev env
Line 1: Line 1:
{{warning | Work in Progress}}  
{{warning | Work in Progress}}
 
{{file|shell.nix|nix|
let
  pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
  nativeBuildInputs = with pkgs; [
    pkg-config
    gobject-introspection
    cargo
    cargo-tauri
    nodejs
  ];
 
  buildInputs = with pkgs;[
    at-spi2-atk
    atkmm
    cairo
    gdk-pixbuf
    glib
    gtk3
    harfbuzz
    librsvg
    libsoup_3
    pango
    webkitgtk_4_1
    openssl
  ];
}
}}





Revision as of 12:36, 23 January 2025

Warning: Work in Progress
shell.nix
[[:Template:META Error]]


Building a Tauri app on nixpkgs?

An official hook has been developed to help you distribute your Tauri app. For more info please checkout the Nixpkgs reference manual here