Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ pkgs.mkShell {
name = "onix-shellder";
venvDir = "./.venv";
buildInputs = [
python310Packages.python
python310Packages.venvShellHook
python312Packages.python
python312Packages.venvShellHook

# Required dependancies
black
# Required dependencies

# Python
python312Packages.black

# misc
taglib
openssl
git
Expand All @@ -17,15 +21,15 @@ pkgs.mkShell {
zlib
];

# Run this command, only after creating the virtual environment
# Runs after creating the virtual environment
postVenvCreation = ''
unset SOURCE_DATE_EPOCH
pip install -r requirements.txt
'';

postShellHook = ''
# allow pip to install wheels
unset SOURCE_DATE_EPOCH
# use z shell, run exit to get back to default bash
zsh -l
'';

Expand Down
Loading
Loading