Init commit

This commit is contained in:
2025-07-03 01:37:41 +03:00
committed by Sweetbread
commit f5afca83d2
25 changed files with 464 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{ pkgs ? import <nixpkgs> {} }:
let
pypkgs = pkgs.python3Packages;
in
pkgs.mkShell {
name = "codrs.ru";
buildInputs = with pypkgs; [
python
virtualenv
pkgs.nodePackages.sass
];
shellHook = ''
if [ ! -d ".venv" ]; then
python -m venv .venv
fi
source .venv/bin/activate
if [ -f "requirements.txt" ]; then
pip install -r requirements.txt
fi
'';
}