From 96f563be1879ca5f8c3b7af1fba7490b74d29bbb Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 5 Oct 2024 12:53:46 +0000 Subject: [PATCH] buffybox: fix usleep typo to reduce CPU to something *much* more manageable --- pkgs/by-name/buffybox/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/buffybox/package.nix b/pkgs/by-name/buffybox/package.nix index 414d9660c..4f16945c2 100644 --- a/pkgs/by-name/buffybox/package.nix +++ b/pkgs/by-name/buffybox/package.nix @@ -20,7 +20,6 @@ stdenv.mkDerivation (finalAttrs: { # TODO: upstream my changes: # - cross compilation fix # - sleep instead of poll (CPU reduction) - # - however, this doesn't reduce CPU *enough*. it's still 10% at idle on lappy. # src = fetchFromGitLab { # domain = "gitlab.com"; @@ -35,9 +34,9 @@ stdenv.mkDerivation (finalAttrs: { domain = "git.uninsane.org"; owner = "colin"; repo = "buffybox"; - rev = "671626a565755bdaa2d2abfef17fe263d56bfdc7"; fetchSubmodules = true; # to use its vendored lvgl - hash = "sha256-jv2cwnR3BVGOERmG39LXhf9ikgOhbil+y/nNqt/zPHw="; + rev = "575341a22bf6bfbdedbe5b75fe7845b642fadda9"; + hash = "sha256-EkXYNbdVMTqHcrsPqFnF8SEwN4UKzPOdQecLcZdBi1s="; }; depsBuildBuild = [