diff --git a/pkgs/by-name/hy/hyprcursor/package.nix b/pkgs/by-name/hy/hyprcursor/package.nix index 9ef6b761f704..69c4a3c41cb8 100644 --- a/pkgs/by-name/hy/hyprcursor/package.nix +++ b/pkgs/by-name/hy/hyprcursor/package.nix @@ -1,6 +1,6 @@ { lib, - stdenv, + gcc14Stdenv, fetchFromGitHub, cmake, pkg-config, @@ -11,8 +11,9 @@ xcur2png, tomlplusplus, nix-update-script, + fetchpatch, }: -stdenv.mkDerivation (finalAttrs: { +gcc14Stdenv.mkDerivation (finalAttrs: { pname = "hyprcursor"; version = "0.1.10"; @@ -43,6 +44,14 @@ stdenv.mkDerivation (finalAttrs: { "lib" ]; + patches = [ + # NOTE: remove after next release + (fetchpatch { + name = "001-add-fstream-include"; + url = "https://github.com/hyprwm/hyprcursor/commit/c18572a92eb39e4921b4f4c2bca8521b6f701b58.patch"; + hash = "sha256-iHRRd/18xEAgvJgmZeSzMp53s+zdIpuaP/sayRfcft4="; + }) + ]; passthru.updateScript = nix-update-script { }; meta = {