this repo has no description
at main 82 lines 1.9 kB view raw
1{ inputs, ... }: 2{ 3 perSystem = 4 { 5 config, 6 self', 7 system, 8 pkgs, 9 lib, 10 ... 11 }: 12 { 13 devShells.default = 14 let 15 libPath = 16 with pkgs; 17 lib.makeLibraryPath [ 18 libGL 19 libxkbcommon 20 wayland 21 udev 22 alsa-lib 23 vulkan-loader 24 libx11 25 openssl 26 27 libxi 28 libxcursor 29 30 libxrandr 31 ]; 32 in 33 pkgs.mkShell { 34 name = "jacquard-shell"; 35 inputsFrom = [ 36 self'.devShells.rust 37 config.pre-commit.devShell # See ./nix/modules/pre-commit.nix 38 ]; 39 RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; 40 LD_LIBRARY_PATH = libPath; 41 OPENSSL_DIR = "${pkgs.openssl.dev}"; 42 PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig:${ 43 pkgs.lib.makeSearchPathOutput "dev" "lib/pkgconfig" [ ] 44 }"; 45 packages = with pkgs; [ 46 just 47 nixd # Nix language server 48 bacon 49 rust-analyzer 50 inputs.dioxus.packages.${system}.dioxus-cli 51 esbuild 52 wasm-bindgen-cli 53 cargo-nextest 54 zip 55 atproto-goat 56 clang 57 llvmPackages.bintools 58 libGL 59 libxkbcommon 60 wayland 61 pkg-config 62 openssl 63 openssl.dev 64 65 udev 66 alsa-lib-with-plugins 67 # Cross Platform 3D Graphics API 68 vulkan-loader 69 # For debugging around vulkan 70 vulkan-tools 71 # Other dependencies 72 libudev-zero 73 libx11 74 75 libxi 76 libxcursor 77 78 libxrandr 79 ]; 80 }; 81 }; 82}