diff --git a/pkgs/desktops/gnome/extensions/freon/default.nix b/pkgs/desktops/gnome/extensions/freon/default.nix index 90909608052b..f57330dee559 100644 --- a/pkgs/desktops/gnome/extensions/freon/default.nix +++ b/pkgs/desktops/gnome/extensions/freon/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { pname = "gnome-shell-extension-freon"; - version = "45"; + version = "unstable-2022-02-05"; passthru = { extensionUuid = "freon@UshakovVasilii_Github.yahoo.com"; @@ -24,8 +24,8 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "UshakovVasilii"; repo = "gnome-shell-extension-freon"; - rev = "EGO-${version}"; - sha256 = "sha256-tPb7SzHSwvz7VV+kZTmcw1eAdtL1J7FJ3BOtg4Us8jc="; + rev = "010c363d9bff8ed28000cbf8df2226dad65078fb"; + hash = "sha256-Fb8y+HoWq+205gqwAD2DVYym1eThGZqDML5HlyhS+4M="; }; nativeBuildInputs = [ glib ]; diff --git a/pkgs/desktops/gnome/extensions/freon/fix_paths.patch b/pkgs/desktops/gnome/extensions/freon/fix_paths.patch index b1be13e8ff58..8efd22dc6df0 100644 --- a/pkgs/desktops/gnome/extensions/freon/fix_paths.patch +++ b/pkgs/desktops/gnome/extensions/freon/fix_paths.patch @@ -80,6 +80,6 @@ index 03d469b..6057a3b 100644 function getSmartData (argv){ - const smartctl = GLib.find_program_in_path('smartctl') + const smartctl = GLib.find_program_in_path('@smartmontools@/bin/smartctl') - return JSON.parse(ByteArray.toString( GLib.spawn_command_line_sync(`${smartctl} ${argv} -j`)[1] )) + return JSON.parse(ByteArray.toString( GLib.spawn_command_line_sync(`'${smartctl}' ${argv} -j`)[1] )) }