gnome-shell-system-monitor-applet icon indicating copy to clipboard operation
gnome-shell-system-monitor-applet copied to clipboard

Not working on NixOS because /usr/local does not exist

Open mipmip opened this issue 3 years ago • 1 comments

This extension does not work on NixOS because NixOS doesn't comply with the FHS. /usr/local does not exist on NixOS.

A simple check if a path exists before checking if path is mount point could prevent a fatal error.

A more generic method to find all filesystem mounts seems more constructive. The extension now checks for some common mount points. Wouldn't it be better to query the current mount points e.g. by reading /etc/mtab?

mipmip avatar Dec 17 '21 13:12 mipmip

+1 from me (also to push this issue a little bit)

FYI: In Nixos this currently is fixed with this patch.

sokai avatar Jul 24 '23 10:07 sokai