Skip to content

Commit f59e1f7

Browse files
authored
mise: 2025.1.6 -> 2025.2.0 (#377397)
2 parents 3fbf881 + 2ff70eb commit f59e1f7

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

pkgs/by-name/mi/mise/package.nix

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
git,
1212
pkg-config,
1313
openssl,
14+
cacert,
1415
Security,
1516
SystemConfiguration,
1617
usage,
@@ -22,21 +23,22 @@
2223

2324
rustPlatform.buildRustPackage rec {
2425
pname = "mise";
25-
version = "2025.1.6";
26+
version = "2025.2.0";
2627

2728
src = fetchFromGitHub {
2829
owner = "jdx";
2930
repo = "mise";
3031
rev = "v${version}";
31-
hash = "sha256-eMKrRrthV37ndsF47jjNxigsJ5WDsCDCit9J88l5dHE=";
32+
hash = "sha256-mZZBazE8QCaz3osbLoeaIHa7tsGji6B4UkaMlKAvF0M=";
3233
};
3334

34-
cargoHash = "sha256-Mh7vyIVkQ0N1dYD4KVue0eiBm+z0JFPt89qYpu+wVd0=";
35+
cargoHash = "sha256-ptkzkzOl2gd67GYlm25FNEDRACIeIptTwN3kcHyxtw0=";
3536

3637
nativeBuildInputs = [
3738
installShellFiles
3839
pkg-config
3940
];
41+
4042
buildInputs =
4143
[ openssl ]
4244
++ lib.optionals stdenv.hostPlatform.isDarwin [
@@ -65,6 +67,8 @@ rustPlatform.buildRustPackage rec {
6567
--replace-fail 'cmd!("direnv"' 'cmd!("${lib.getExe direnv}"'
6668
'';
6769

70+
nativeCheckInputs = [ cacert ];
71+
6872
checkFlags = [
6973
# last_modified will always be different in nix
7074
"--skip=tera::tests::test_last_modified"
@@ -92,7 +96,9 @@ rustPlatform.buildRustPackage rec {
9296
passthru = {
9397
updateScript = nix-update-script { };
9498
tests = {
95-
version = testers.testVersion { package = mise; };
99+
version = (testers.testVersion { package = mise; }).overrideAttrs (old: {
100+
nativeBuildInputs = old.nativeBuildInputs ++ [ cacert ];
101+
});
96102
usageCompat =
97103
# should not crash
98104
runCommand "mise-usage-compatibility"

0 commit comments

Comments
 (0)