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