shell.nix 278 B

123456789101112131415
  1. # Generates a shell from where all the dependencies can be found.
  2. { pkgs ? import <nixpkgs> {} }:
  3. let
  4. SOURCE_DIR = builtins.toString ./src;
  5. in
  6. pkgs.mkShell {
  7. buildInputs = [
  8. pkgs.python3
  9. pkgs.python3Packages.jinja2
  10. ];
  11. PYTHONPATH = SOURCE_DIR;
  12. }