xrsh/shell.nix

29 lines
683 B
Nix
Raw Normal View History

2024-01-01 13:01:15 +00: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
cosmopolitan
2024-05-22 08:23:56 +00:00
zip
2024-08-26 19:57:35 +00:00
vhs
ffmpeg_6-full
2024-01-01 13:01:15 +00:00
];
2024-07-29 16:12:19 +02:00
shellHook =
''
2025-01-09 12:06:51 +01:00
export NIX_SHELL_XRSH=1
2024-12-11 17:25:39 +00:00
echo -e "\n run: './make standalone' to generate binary\n"
2024-07-29 16:12:19 +02:00
echo -e "\n run: ./xrsh.com to launch XR Shell\n\n"
'';
2024-01-01 13:01:15 +00:00
}