sam-4screen-desktop 2026-5-22:16:27:36

This commit is contained in:
2026-05-22 16:27:36 +10:00
parent fa6c28c0a9
commit b8e62cbda3
3 changed files with 29 additions and 6 deletions

22
shell.nix Normal file
View File

@@ -0,0 +1,22 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
python313
gcc
stdenv.cc.libc
openssl
zlib
git
uv
];
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.openssl.out}/lib:${pkgs.zlib.out}/lib";
shellHook = ''
if [ ! -d .venv ]; then
uv venv
fi
source .venv/bin/activate
'';
}