Open-source interactive fiction engine, powered by React, Redux and TypeScript. _ https://discoteque.pub/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
367 B

  1. { pkgs ? import <nixpkgs> {} }:
  2. with pkgs;
  3. let
  4. nodePkg = pkgs.nodejs-12_x;
  5. yarnPkg = pkgs.yarn.override { nodejs = nodePkg; };
  6. tslPkg = pkgs.nodePackages.typescript-language-server.override { nodejs = nodePkg; };
  7. in mkShell {
  8. shellHook = ''
  9. export PATH=$PATH:$PWD/node_modules/.bin
  10. '';
  11. buildInputs = [
  12. yarnPkg nodePkg tslPkg
  13. yarn2nix
  14. ];
  15. }