Files
Sapphire c139ebce44 Bump openxrs, use safe bindings for face tracking (#33)
* Bump openxrs, use safe bindings for face tracking

* Update flake, add Rust src path so rust-analyzer works

* cargo fmt
2026-11-01 22:26:08 +09:00

35 lines
681 B
Nix

{
description = "Simple Rust dev shell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
rustc
cargo
rustfmt
clippy
pkg-config
gcc
rust-analyzer
];
buildInputs = with pkgs; [
openssl
gcc
libiconv
openxr-loader
];
RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
};
};
}