From 77174b0a533c7d08c82b1cd83b3fd0bd24c73459 Mon Sep 17 00:00:00 2001 From: SchweGELBin Date: Wed, 8 Oct 2025 16:10:28 +0200 Subject: [PATCH] linyaps-web-store-installer: fix cmake 4 compatibility --- .../by-name/li/linyaps-web-store-installer/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/li/linyaps-web-store-installer/package.nix b/pkgs/by-name/li/linyaps-web-store-installer/package.nix index 649e9002c5f2..33884d80f6e2 100644 --- a/pkgs/by-name/li/linyaps-web-store-installer/package.nix +++ b/pkgs/by-name/li/linyaps-web-store-installer/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch2, cmake, qt6, }: @@ -22,6 +23,15 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail "Exec=/usr/bin/ll-installer" "Exec=$out/bin/ll-installer" ''; + patches = [ + (fetchpatch2 { + # https://github.com/OpenAtom-Linyaps/linyaps-web-store-installer/pull/24 + url = "https://github.com/OpenAtom-Linyaps/linyaps-web-store-installer/commit/fc365dd06b17df38d9ae991775e51c5f1b547341.patch?full_index=1"; + hash = "sha256-BpFM3w8njRANvxH34PyP3Y2hLtZWOl18KZxzA+Ew3Zg="; + includes = [ "CMakeLists.txt" ]; + }) + ]; + nativeBuildInputs = [ cmake qt6.wrapQtAppsHook