diff options
Diffstat (limited to 'pkgs/desktops/gnome/extensions/freon/fix_paths.patch')
-rw-r--r-- | pkgs/desktops/gnome/extensions/freon/fix_paths.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome/extensions/freon/fix_paths.patch b/pkgs/desktops/gnome/extensions/freon/fix_paths.patch index b1be13e8ff589..8efd22dc6df04 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] )) } |