From bf7fa32121714847299b4dcc16c6bee623b4f022 Mon Sep 17 00:00:00 2001 From: Yureka Date: Fri, 26 Jun 2026 13:09:47 +0200 Subject: [PATCH] m1n1: 1.5.2 -> 1.6.0 Changelog: https://github.com/AsahiLinux/m1n1/releases/tag/v1.6.0 Diff: https://github.com/AsahiLinux/m1n1/compare/v1.5.2...v1.6.0 (cherry picked from commit fd9e2ea29be7040361e862a0e8faa502c200def4) --- pkgs/by-name/m1/m1n1/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/m1/m1n1/package.nix b/pkgs/by-name/m1/m1n1/package.nix index ba9320acbde9..c836f162aee7 100644 --- a/pkgs/by-name/m1/m1n1/package.nix +++ b/pkgs/by-name/m1/m1n1/package.nix @@ -32,17 +32,23 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "m1n1"; - version = "1.5.2"; + version = "1.6.0"; src = fetchFromGitHub { owner = "AsahiLinux"; repo = "m1n1"; tag = "v${finalAttrs.version}"; - hash = "sha256-rxop5r+EVXnp1OVkGT6MUwcl6yNTJxJSJuruZiaou7g="; + hash = "sha256-yYXB2DhLcLqxaqwP5mII+j2PMIoXdZ35bpx/d0WSZA8="; fetchSubmodules = true; }; - cargoVendorDir = "."; + cargoDeps = rustPlatform.fetchCargoVendor { + inherit (finalAttrs) pname version; + src = "${finalAttrs.src}/rust"; + sourceRoot = "rust"; + hash = "sha256-iuiRp2FA5jnb3uh/p1gpc7Sznt1s4/UR91wEtXTf97o="; + }; + cargoRoot = "rust"; postPatch = lib.optionalString (customLogo != null) '' magick ${customLogo} -resize 128x128 data/custom_128.png