From 025e49d9b4e4cb81f52d3606056b122fc4d96390 Mon Sep 17 00:00:00 2001 From: Daniel Winkler Date: Mon, 2 Jun 2025 00:06:16 +0200 Subject: [PATCH] use nix python for uv sync --- templates/sci/flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/sci/flake.nix b/templates/sci/flake.nix index 75b64b5..026f2dc 100644 --- a/templates/sci/flake.nix +++ b/templates/sci/flake.nix @@ -82,6 +82,8 @@ }; bashBeforeWrapper = { pydev = [ + "export UV_PYTHON=${pkgs.py.interpreter}" + "export UV_PYTHON_DOWNLOADS=\"never\"" "uv sync" ]; };