Merge pull request #292798 from aaronjheng/pixi

pixi: 0.13.0 -> 0.15.2
This commit is contained in:
Mario Rodas 2024-03-08 05:58:23 -05:00 committed by GitHub
commit d178d3d172
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)