{ inputs, ... }: { perSystem = { config, self', system, pkgs, lib, ... }: { devShells.default = let libPath = with pkgs; lib.makeLibraryPath [ libGL libxkbcommon wayland udev alsa-lib vulkan-loader libx11 openssl libxi libxcursor libxrandr ]; in pkgs.mkShell { name = "jacquard-shell"; inputsFrom = [ self'.devShells.rust config.pre-commit.devShell # See ./nix/modules/pre-commit.nix ]; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; LD_LIBRARY_PATH = libPath; OPENSSL_DIR = "${pkgs.openssl.dev}"; PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig:${ pkgs.lib.makeSearchPathOutput "dev" "lib/pkgconfig" [ ] }"; packages = with pkgs; [ just nixd # Nix language server bacon rust-analyzer inputs.dioxus.packages.${system}.dioxus-cli esbuild wasm-bindgen-cli cargo-nextest zip atproto-goat clang llvmPackages.bintools libGL libxkbcommon wayland pkg-config openssl openssl.dev udev alsa-lib-with-plugins # Cross Platform 3D Graphics API vulkan-loader # For debugging around vulkan vulkan-tools # Other dependencies libudev-zero libx11 libxi libxcursor libxrandr ]; }; }; }