From a097e57c17e69e0aa203a6f72d9ac03ea0df5db2 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sat, 2 Mar 2024 22:23:35 +0800 Subject: [PATCH] pixi: 0.13.0 -> 0.15.2 --- pkgs/by-name/pi/pixi/package.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/pi/pixi/package.nix b/pkgs/by-name/pi/pixi/package.nix index 1592ce9849f9..2c7a1d8f207e 100644 --- a/pkgs/by-name/pi/pixi/package.nix +++ b/pkgs/by-name/pi/pixi/package.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "pixi"; - version = "0.13.0"; + version = "0.15.2"; src = fetchFromGitHub { owner = "prefix-dev"; repo = "pixi"; rev = "v${version}"; - hash = "sha256-4EKJwHXNDUGhwlSSZFoPHdG5WBDoHFAQncG+CpD2sik="; + hash = "sha256-bh8Uu6Q2AND50Qzivc6k1Z8JWudkHC2i4YW1Hxa69SM="; }; - cargoHash = "sha256-s1ODwuYv1x5/iP8yHS5FRk5MacrW81LaXI7/J+qtPNM="; + cargoHash = "sha256-yMIcPwnuN7F2ZrOtJw8T+nxeSzLsYn+iC34bYeWpi/w="; nativeBuildInputs = [ pkg-config @@ -35,6 +35,13 @@ rustPlatform.buildRustPackage rec { with darwin.apple_sdk_11_0.frameworks; [ CoreFoundation IOKit SystemConfiguration Security ] ); + # There are some CI failures with Rattler. Tests on Aarch64 has been skipped. + # See https://github.com/prefix-dev/pixi/pull/241. + doCheck = !stdenv.isAarch64; + + preCheck = '' + export HOME="$(mktemp -d)" + ''; checkFlags = [ # Skip tests requiring network @@ -49,7 +56,7 @@ rustPlatform.buildRustPackage rec { ]; postInstall = '' - installShellCompletion --cmd pix \ + installShellCompletion --cmd pixi \ --bash <($out/bin/pixi completion --shell bash) \ --fish <($out/bin/pixi completion --shell fish) \ --zsh <($out/bin/pixi completion --shell zsh)