tractor/default.nix

20 lines
305 B
Nix
Raw Normal View History

2025-03-12 19:13:40 +00:00
{ pkgs ? import <nixpkgs> {} }:
let
nativeBuildInputs = with pkgs; [
stdenv.cc.cc.lib
uv
];
in
pkgs.mkShell {
inherit nativeBuildInputs;
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath nativeBuildInputs;
TMPDIR = "/tmp";
2025-03-12 19:13:40 +00:00
shellHook = ''
set -e
uv venv .venv --python=3.11
2025-03-12 19:13:40 +00:00
'';
}