mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
refactor(nix): remove comments and unused code, start zsh (QoL)
This commit is contained in:
parent
c4a10e006a
commit
937dbd5bda
1 changed files with 3 additions and 13 deletions
16
default.nix
16
default.nix
|
@ -1,22 +1,11 @@
|
|||
with import <nixpkgs> { };
|
||||
|
||||
let
|
||||
pythonPackages = python3Packages;
|
||||
in pkgs.mkShell rec {
|
||||
name = "impurePythonEnv";
|
||||
pkgs.mkShell {
|
||||
name = "onix-shellder";
|
||||
venvDir = "./.venv";
|
||||
buildInputs = [
|
||||
python310Packages.python
|
||||
python310Packages.venvShellHook
|
||||
|
||||
# python310Packages.coverage
|
||||
# python310Packages.python-mimeparse
|
||||
# python310Packages.python-dateutil
|
||||
# python310Packages.drf-spectacular
|
||||
# python310Packages.djangorestframework
|
||||
# python310Packages.django-redis
|
||||
# python310Packages.django-cors-headers
|
||||
|
||||
# Required dependancies
|
||||
black
|
||||
taglib
|
||||
|
@ -37,6 +26,7 @@ in pkgs.mkShell rec {
|
|||
postShellHook = ''
|
||||
# allow pip to install wheels
|
||||
unset SOURCE_DATE_EPOCH
|
||||
zsh -l
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue