Uv (and uvx) pckgs install

Hi, Developers

I want to use uv, uvx in IDX. Therefore, I tried install by pakg.
First, there is no package found via search on dev.nix.
Then I tried by “pkgs.python311Packages.uv” that can be found in NixOS Search
However, the pkgs caused build error as below.

+++
Error
error: attribute ‘uv’ missing
at /home/user/IDX-Python-UVX-Wrapper/.idx/dev.nix:14:5
+++

I changed the package to pkgs.uv also available in search.nixos.org, the package works as in successfully buid.
However, the installed uv version is significantly older than the nix package search indicated (0.4.30)

+++
uv --version
uv 0.1.45
+++

Additionaly, the installed uv does not include uvx.

Any info do you have? and is anybody successfully install uv and uvx both into IDX build ?

Thanks

Follow the other python templates because they use uv to install packages in a virtual environment (which is needed for nix based packages)

1 Like

Unstable version is avalable 0.6.n