format flake
This commit is contained in:
parent
a2f710c263
commit
0b656c26ff
1 changed files with 5 additions and 2 deletions
|
|
@ -40,6 +40,7 @@
|
||||||
# Development shell
|
# Development shell
|
||||||
|
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
python3
|
python3
|
||||||
python3Packages.pip
|
python3Packages.pip
|
||||||
|
|
@ -48,6 +49,7 @@
|
||||||
python3Packages.openrazer
|
python3Packages.openrazer
|
||||||
python3Packages.toml
|
python3Packages.toml
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
if [ ! -d .venv ]; then
|
if [ ! -d .venv ]; then
|
||||||
python -m venv .venv
|
python -m venv .venv
|
||||||
|
|
@ -56,6 +58,7 @@
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue