about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2024-04-25 21:57:27 +0200
committerGitHub <noreply@github.com>2024-04-25 21:57:27 +0200
commit09a5961b1e4b400559e7aa84c538360b21bb79bb (patch)
tree6346524259d2e199cfc26836d1d423db359d1f0b /pkgs/tools
parentd57f53330eb686e11fcd3f282827807e1dc4a29b (diff)
parenta3291dfcfce7b246eba6bb887e550231b86be5b0 (diff)
Merge pull request #305819 from konradmalik/mise
mise: 2024.4.0 -> 2024.4.5
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/mise/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/tools/misc/mise/default.nix b/pkgs/tools/misc/mise/default.nix
index f013f6a035615..f14d968a4810a 100644
--- a/pkgs/tools/misc/mise/default.nix
+++ b/pkgs/tools/misc/mise/default.nix
@@ -17,16 +17,22 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "mise";
-  version = "2024.4.0";
+  version = "2024.4.5";
 
   src = fetchFromGitHub {
     owner = "jdx";
     repo = "mise";
     rev = "v${version}";
-    hash = "sha256-l+Em04q40R5iTm4lNjY6sRE7Vu7UBl7lPNU9yj/hKzk=";
+    hash = "sha256-JnPsP19c7oE6bRVOd3Afok0A0Sn/tUOoc1DCjurueW0=";
+
+    # registry is not needed for compilation nor for tests.
+    # contains files with the same name but different case, which cause problems with hash on darwin
+    postFetch = ''
+      rm -rf $out/registry
+    '';
   };
 
-  cargoHash = "sha256-BPPjR0o+M5sTBWRgq3kOL+94qnRKnskLyFRUEPlPQtA=";
+  cargoHash = "sha256-trf4nJ2BmpzWvZb2YG/6i540k1xvLJVesc6g/AEgaVk=";
 
   nativeBuildInputs = [ installShellFiles pkg-config ];
   buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];