fix(flake): resolve mypy access to libraries

This commit is contained in:
Xarvex
2024-06-16 02:59:59 -05:00
committed by Travis Abendshien
parent 3c842f03ed
commit ff5d226480

View File

@@ -50,6 +50,7 @@
python312Packages.pyusb # fixes the pyusb 'No backend available' when installed directly via pip
python312Packages.venvShellHook # Initializes a venv in $venvDir
ruff # Ruff cannot be installed via pip
mypy # MyPy cannot be installed via pip
libgcc
glib
@@ -81,9 +82,12 @@
unset SOURCE_DATE_EPOCH
echo Installing dependencies into virtual environment
pip install PySide6==6.6.2 # 6.6.3 has faulty .pyi files
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip uninstall -y ruff # Hacky solution to not fight with other dev deps
# Hacky solution to not fight with other dev deps
# May show failure if skipped due to same version with nixpkgs
pip uninstall -y mypy ruff
'';
# set the environment variables that Qt apps expect