36 lines
512 B
Nix
36 lines
512 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
packages = with pkgs; [
|
|
bun
|
|
nodejs_24
|
|
rustc
|
|
cargo
|
|
rustfmt
|
|
clippy
|
|
pkg-config
|
|
openssl
|
|
git
|
|
webkitgtk_4_1
|
|
gtk3
|
|
glib
|
|
cairo
|
|
pango
|
|
gdk-pixbuf
|
|
libsoup_3
|
|
librsvg
|
|
dbus
|
|
at-spi2-atk
|
|
xdotool
|
|
];
|
|
|
|
env = {
|
|
GIO_MODULE_DIR = "${pkgs.glib-networking}/lib/gio/modules";
|
|
WEBKIT_DISABLE_COMPOSITING_MODE = "1";
|
|
};
|
|
|
|
scripts.check.exec = ''
|
|
bun run build
|
|
cargo check --manifest-path src-tauri/Cargo.toml
|
|
'';
|
|
}
|