Skip to content

Commit

Permalink
Add nix development shell
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Wilk <[email protected]>
  • Loading branch information
kliwniloc committed Jul 7, 2024
1 parent 44c31c7 commit dbb8f83
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
name = "python-dev";

buildInputs = with pkgs; [
python311
zsh
poetry
fio
];

shellHook = ''
export SHELL=$(which zsh)
echo "Welcome to the Python development environment"
echo "Python version: $(python3 --version)"
echo "Poetry version: $(poetry --version)"
echo "FIO version: $(fio -v)"
zsh
'';
}

0 comments on commit dbb8f83

Please sign in to comment.