Add shell.nix

This commit is contained in:
Chandler Swift 2024-09-02 13:59:45 -05:00
parent ff8da54892
commit 49386d5b8f
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
3 changed files with 14 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use nix;

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ dist
layers/dot-cams/*/data/states.js layers/dot-cams/*/data/states.js
layers/survey-markers/states.js layers/survey-markers/states.js
layers/tjx/data/chains.js layers/tjx/data/chains.js
.direnv

12
shell.nix Normal file
View file

@ -0,0 +1,12 @@
let
# nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
pkgs = import <nixpkgs> { config = {}; overlays = []; };
in
pkgs.mkShellNoCC {
packages = with pkgs; [
python3
python311Packages.requests
nodejs
];
}