mise: 2025.1.6 -> 2025.2.0 (#377397)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
git,
|
||||
pkg-config,
|
||||
openssl,
|
||||
cacert,
|
||||
Security,
|
||||
SystemConfiguration,
|
||||
usage,
|
||||
@@ -22,21 +23,22 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mise";
|
||||
version = "2025.1.6";
|
||||
version = "2025.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jdx";
|
||||
repo = "mise";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-eMKrRrthV37ndsF47jjNxigsJ5WDsCDCit9J88l5dHE=";
|
||||
hash = "sha256-mZZBazE8QCaz3osbLoeaIHa7tsGji6B4UkaMlKAvF0M=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Mh7vyIVkQ0N1dYD4KVue0eiBm+z0JFPt89qYpu+wVd0=";
|
||||
cargoHash = "sha256-ptkzkzOl2gd67GYlm25FNEDRACIeIptTwN3kcHyxtw0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
@@ -65,6 +67,8 @@ rustPlatform.buildRustPackage rec {
|
||||
--replace-fail 'cmd!("direnv"' 'cmd!("${lib.getExe direnv}"'
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [ cacert ];
|
||||
|
||||
checkFlags = [
|
||||
# last_modified will always be different in nix
|
||||
"--skip=tera::tests::test_last_modified"
|
||||
@@ -92,7 +96,9 @@ rustPlatform.buildRustPackage rec {
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests = {
|
||||
version = testers.testVersion { package = mise; };
|
||||
version = (testers.testVersion { package = mise; }).overrideAttrs (old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [ cacert ];
|
||||
});
|
||||
usageCompat =
|
||||
# should not crash
|
||||
runCommand "mise-usage-compatibility"
|
||||
|
||||
Reference in New Issue
Block a user