diff --git a/pkgs/by-name/uv/uv/package.nix b/pkgs/by-name/uv/uv/package.nix index 42e65e7f2c90..7ec417d2f190 100644 --- a/pkgs/by-name/uv/uv/package.nix +++ b/pkgs/by-name/uv/uv/package.nix @@ -20,17 +20,17 @@ rustPlatform.buildRustPackage rec { pname = "uv"; - version = "0.6.0"; + version = "0.6.1"; src = fetchFromGitHub { owner = "astral-sh"; repo = "uv"; tag = version; - hash = "sha256-1D1/LY8nJI14nLghYI60a4CFmu8McUIUnxB7SeXPs1o="; + hash = "sha256-1vWg+nDh87JSs5W+8RgvAlfmNSokAU6Or41OXMcFRC8="; }; useFetchCargoVendor = true; - cargoHash = "sha256-2XLkMk6IsWho/BlPr+uxfuliAsTDat+nY0h/MJN8sXU="; + cargoHash = "sha256-Kuh3R8PRlH25wmErFVa055ggctJYFqq9fZTzyK3TAT0="; buildInputs = [ rust-jemalloc-sys @@ -52,7 +52,7 @@ rustPlatform.buildRustPackage rec { # Tests require python3 doCheck = false; - postInstall = + postInstall = lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) ( let emulator = stdenv.hostPlatform.emulator buildPackages; in @@ -61,7 +61,8 @@ rustPlatform.buildRustPackage rec { --bash <(${emulator} $out/bin/uv generate-shell-completion bash) \ --fish <(${emulator} $out/bin/uv generate-shell-completion fish) \ --zsh <(${emulator} $out/bin/uv generate-shell-completion zsh) - ''; + '' + ); nativeInstallCheckInputs = [ versionCheckHook