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