Skip to content

Commit 6a2a075

Browse files
authored
Merge pull request #1193 from Indyandie/docs/bump_nix-update_gen_oas
Documentation: bump nix shell & update OpenAPI spec
2 parents 8b70d84 + 2624282 commit 6a2a075

File tree

3 files changed

+3446
-3349
lines changed

3 files changed

+3446
-3349
lines changed

default.nix

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ pkgs.mkShell {
33
name = "onix-shellder";
44
venvDir = "./.venv";
55
buildInputs = [
6-
python310Packages.python
7-
python310Packages.venvShellHook
6+
python312Packages.python
7+
python312Packages.venvShellHook
88

9-
# Required dependancies
10-
black
9+
# Required dependencies
10+
11+
# Python
12+
python312Packages.black
13+
14+
# misc
1115
taglib
1216
openssl
1317
git
@@ -17,15 +21,15 @@ pkgs.mkShell {
1721
zlib
1822
];
1923

20-
# Run this command, only after creating the virtual environment
24+
# Runs after creating the virtual environment
2125
postVenvCreation = ''
2226
unset SOURCE_DATE_EPOCH
2327
pip install -r requirements.txt
2428
'';
2529

2630
postShellHook = ''
27-
# allow pip to install wheels
2831
unset SOURCE_DATE_EPOCH
32+
# use z shell, run exit to get back to default bash
2933
zsh -l
3034
'';
3135

0 commit comments

Comments
 (0)