mirror of
https://github.com/ow-mods/ow-mod-man.git
synced 2025-12-11 20:15:50 +01:00
29 lines
597 B
Nix
29 lines
597 B
Nix
{pkgs ? import <nixpkgs> {}}:
|
|
# NOTE(Spoonbaker): This doesn't include the overlay when using `nix-shell` instead of `nix shell`
|
|
pkgs.mkShell {
|
|
name = "owmods-shell";
|
|
buildInputs = with pkgs; [
|
|
rustc
|
|
cargo
|
|
clippy
|
|
rustfmt
|
|
nodejs
|
|
gcc
|
|
openssl
|
|
webkitgtk
|
|
glib-networking
|
|
pkg-config
|
|
libnotify
|
|
gtk3
|
|
libsoup
|
|
librsvg
|
|
cargo-tauri
|
|
typeshare
|
|
];
|
|
OPENSSL_LIB_DIR = "${pkgs.openssl.out}/lib";
|
|
OPENSSL_INCLUDE_DIR = "${pkgs.openssl.dev}/include";
|
|
shellHook = ''
|
|
export GIO_MODULE_DIR=${pkgs.glib-networking}/lib/gio/modules/
|
|
'';
|
|
}
|