Skip to content

Commit

Permalink
Merge pull request #1193 from Indyandie/docs/bump_nix-update_gen_oas
Browse files Browse the repository at this point in the history
Documentation: bump nix shell & update OpenAPI spec
  • Loading branch information
Naramsim authored Jan 22, 2025
2 parents 8b70d84 + 2624282 commit 6a2a075
Show file tree
Hide file tree
Showing 3 changed files with 3,446 additions and 3,349 deletions.
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

0 comments on commit 6a2a075

Please sign in to comment.