xrfragment/shell.nix

23 lines
461 B
Nix
Raw Normal View History

2024-04-29 14:28:50 +00:00
{ pkgs ? import <nixos-unstable> {} }:
2023-08-04 09:11:26 +02:00
pkgs.mkShell {
# nativeBuildInputs is usually what you want -- tools you need to run
nativeBuildInputs = with pkgs.buildPackages; [
2023-10-30 16:15:08 +01:00
nodejs
2023-10-25 17:32:19 +02:00
haxe
mmark
xml2rfc
2024-01-03 14:23:34 +00:00
esbuild
2023-08-04 09:11:26 +02:00
];
2023-12-20 17:44:03 +00:00
shellHooks = ''
2025-08-14 10:40:01 +02:00
export NIX_SHELL_XRF=1
2025-02-07 16:18:37 +01:00
echo -e "\n run: './make build' to build all (haxe parser + js)\n"
echo -e "\n run: './make build javascript' to build js\n"
2023-12-20 17:44:03 +00:00
'';
2023-08-04 09:11:26 +02:00
}
2024-08-06 10:35:57 +02:00