diff --git a/flake.nix b/flake.nix index 2f5d7ec..5043ce2 100644 --- a/flake.nix +++ b/flake.nix @@ -44,6 +44,7 @@ rust9x = pkgs.callPackage ./shells/rust9x { }; rust-libclang = pkgs.callPackage ./shells/rust-libclang { }; ryujinx = pkgs.callPackage ./shells/ryujinx { }; + touchhle = pkgs.callPackage ./shells/touchhle { }; uboot = pkgs.callPackage ./shells/uboot { }; zephyr = pkgs.callPackage ./shells/zephyr { }; }); diff --git a/shells/touchhle/default.nix b/shells/touchhle/default.nix new file mode 100644 index 0000000..96da143 --- /dev/null +++ b/shells/touchhle/default.nix @@ -0,0 +1,44 @@ +{ + lib, + mkShell, + cargo, + rustc, + rustfmt, + clippy, + rust, + + cmake, + pkg-config, + + boost, + sndio, + libGL, + pulseaudio, + pipewire, + SDL2, + openal, +}: +mkShell { + packages = [ + rustc + cargo + rustfmt + clippy + + cmake + pkg-config + + boost + sndio + pulseaudio + pipewire + SDL2 + openal + ]; + + LD_LIBRARY_PATH = "${lib.makeLibraryPath [ + libGL + ]}"; + + RUST_SRC_PATH = "${rust.packages.stable.rustPlatform.rustLibSrc}"; +}