add a shell.nix

master
Ryan Rix 2021-10-23 16:21:22 -07:00
parent 0d5a440b56
commit 61d4fe3dfe
2 changed files with 11 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use nix

10
shell.nix Normal file
View File

@ -0,0 +1,10 @@
let
pkgs = import <nixpkgs> {};
in pkgs.mkShell {
packages = [
pkgs.python3
];
shellHook = ''
source env/bin/activate
'';
}