Skip to content

Commit

Permalink
nix: switch to venv-based shell
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjnixon committed Jan 9, 2024
1 parent 458b49b commit 7d18d21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,13 @@
python3.pkgs.flake8
python3.pkgs.ipython
python3.pkgs.black
python3.pkgs.pip
packages.darker
python3.pkgs.venvShellHook
];
venvDir = "./venv";
postShellHook = ''
export PYTHONPATH=$(pwd):$PYTHONPATH
python -m pip install -e .
'';
});
devShell = devShells.ear;
Expand Down

0 comments on commit 7d18d21

Please sign in to comment.