mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-24 20:33:04 +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> { };
|
with import <nixpkgs> { };
|
||||||
|
pkgs.mkShell {
|
||||||
let
|
name = "onix-shellder";
|
||||||
pythonPackages = python3Packages;
|
|
||||||
in pkgs.mkShell rec {
|
|
||||||
name = "impurePythonEnv";
|
|
||||||
venvDir = "./.venv";
|
venvDir = "./.venv";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python310Packages.python
|
python310Packages.python
|
||||||
python310Packages.venvShellHook
|
python310Packages.venvShellHook
|
||||||
|
|
||||||
# python310Packages.coverage
|
|
||||||
# python310Packages.python-mimeparse
|
|
||||||
# python310Packages.python-dateutil
|
|
||||||
# python310Packages.drf-spectacular
|
|
||||||
# python310Packages.djangorestframework
|
|
||||||
# python310Packages.django-redis
|
|
||||||
# python310Packages.django-cors-headers
|
|
||||||
|
|
||||||
# Required dependancies
|
# Required dependancies
|
||||||
black
|
black
|
||||||
taglib
|
taglib
|
||||||
|
@ -37,6 +26,7 @@ in pkgs.mkShell rec {
|
||||||
postShellHook = ''
|
postShellHook = ''
|
||||||
# allow pip to install wheels
|
# allow pip to install wheels
|
||||||
unset SOURCE_DATE_EPOCH
|
unset SOURCE_DATE_EPOCH
|
||||||
|
zsh -l
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue