shell.nix 486 B

1234567891011121314151617181920212223242526272829
  1. # This file is for users of the Nix package manager (https://nixos.org)
  2. { pkgs ? import <nixpkgs> {} }:
  3. pkgs.mkShell {
  4. buildInputs = [
  5. pkgs.python3
  6. pkgs.python3Packages.tkinter
  7. pkgs.python3Packages.lark
  8. pkgs.python3Packages.lxml
  9. pkgs.python3Packages.termcolor
  10. #pkgs.rustc
  11. pkgs.rustup
  12. #pkgs.cargo
  13. pkgs.wasm-pack
  14. pkgs.perf-tools
  15. ];
  16. shellHook =
  17. ''
  18. export PYTHONPATH=$PYTHONPATH:$pwd/python
  19. '';
  20. PYTHONPATH = ./python;
  21. }