gnomeExtensions.freon: 45 → unstable-2022-02-05

This commit is contained in:
Fabián Heredia Montiel 2022-03-23 10:08:36 -06:00
parent 33a2ef2060
commit 9715d3e5b3
2 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-freon"; pname = "gnome-shell-extension-freon";
version = "45"; version = "unstable-2022-02-05";
passthru = { passthru = {
extensionUuid = "freon@UshakovVasilii_Github.yahoo.com"; extensionUuid = "freon@UshakovVasilii_Github.yahoo.com";
@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "UshakovVasilii"; owner = "UshakovVasilii";
repo = "gnome-shell-extension-freon"; repo = "gnome-shell-extension-freon";
rev = "EGO-${version}"; rev = "010c363d9bff8ed28000cbf8df2226dad65078fb";
sha256 = "sha256-tPb7SzHSwvz7VV+kZTmcw1eAdtL1J7FJ3BOtg4Us8jc="; hash = "sha256-Fb8y+HoWq+205gqwAD2DVYym1eThGZqDML5HlyhS+4M=";
}; };
nativeBuildInputs = [ glib ]; nativeBuildInputs = [ glib ];

View file

@ -80,6 +80,6 @@ index 03d469b..6057a3b 100644
function getSmartData (argv){ function getSmartData (argv){
- const smartctl = GLib.find_program_in_path('smartctl') - const smartctl = GLib.find_program_in_path('smartctl')
+ const smartctl = GLib.find_program_in_path('@smartmontools@/bin/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] ))
} }