sam-4screen-desktop 2026-5-22:16:27:36
This commit is contained in:
22
shell.nix
Normal file
22
shell.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user