xrsh/shell.nix
Leon van Kammen 5e84b3bc18
Some checks failed
/ mirror_to_github (push) Failing after 2m48s
/ test (push) Successful in 14s
squashed xrsh
2026-09-01 12:23:36 +02:00

28 lines
683 B
Nix

#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
cosmopolitan
zip
vhs
ffmpeg_6-full
];
shellHook =
''
export NIX_SHELL_XRSH=1
echo -e "\n run: './make standalone' to generate binary\n"
echo -e "\n run: ./xrsh.com to launch XR Shell\n\n"
'';
}