xrforge/clients/webxr/shell.nix

25 lines
522 B
Nix
Raw Normal View History

2025-09-30 13:23:30 +02:00
#let
# pkgs = import (builtins.fetchGit {
# name = "nixos-23.05";
# url = "https://github.com/nixos/nixpkgs/";
# ref = "refs/heads/nixos-unstable";
# rev = "ef99fa5c5ed624460217c31ac4271cfb5cb2502c";
# }) {};
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
# nativeBuildInputs is usually what you want -- tools you need to run
nativeBuildInputs = with pkgs.buildPackages; [
nodejs_20
2025-10-03 13:41:51 +02:00
monolith
bun
2025-09-30 13:23:30 +02:00
];
shellHook = ''
2025-10-03 13:41:51 +02:00
export NIX_XRFORGE_WEBXR=1
2025-09-30 13:23:30 +02:00
'';
}