aleksey-hoffman / sigma-file-manager

"Sigma File Manager" is a free, open-source, quickly evolving, modern file manager (explorer / browser) app for Windows and Linux.
https://sigma-file-manager.vercel.app
Other
4k stars 148 forks source link

Unable to start on nixos #161

Open Th0rgal opened 3 years ago

Th0rgal commented 3 years ago

Is there an existing issue for this?

Problem description

I am not able to start sigma-file-manager on nixos (linux). I used the appimage file (from 1.3.0, it was not released for 1.4.0), packaged like this: https://gist.github.com/Th0rgal/09f48a28a9b21eefdeda911bbf8afbdf

Here is what I get when I type sigma-file-manager -d:

+ getopts x:w:dh option
+ shift 3
+ '[' -n true ']'
+ '[' -d /nix/store/dwqr4mnk7ji3fw0kh62nxn21pcp69656-sigma-file-manager-1.3.0-extracted ']'
+ wrap
+ export APPIMAGE_SILENT_INSTALL=1
+ APPIMAGE_SILENT_INSTALL=1
+ '[' -n '' ']'
+ exec /nix/store/dwqr4mnk7ji3fw0kh62nxn21pcp69656-sigma-file-manager-1.3.0-extracted/AppRun
(node:46) Electron: Loading non-context-aware native module in renderer: '/tmp/.org.chromium.Chromium.Y7UQqG'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(Use `exe --trace-warnings ...` to show where the warning was created)

Steps to reproduce

  1. Install nixos or nix
  2. load my nix derivation: https://gist.github.com/Th0rgal/09f48a28a9b21eefdeda911bbf8afbdf

Environment

github-actions[bot] commented 3 years ago

Consider supporting the developer on Patreon to increase priority of all your issues, get access to private discord and other rewards.
Patreon page: https://www.patreon.com/sigma_file_manager

aleksey-hoffman commented 3 years ago

The provided AppImage was built on Debian (Ubuntu). That's probably the reason it's not launching on NixOS.

You can try building it yourself. You will need:

Though it will not launch as is either, because I didn't provide AppImage for v1.4. The auto-updater will throw an error on launch unless you disable the code that calls it before building. I will fix this error in v1.5 (as I mentioned, I didn't have time to test MacOS and Linux builds)

Th0rgal commented 3 years ago

Alright, thanks for your answer. Should I close the issue or wait for 1.5?

aleksey-hoffman commented 3 years ago

Let's leave the issue open for now. I will try to install NixOS and build the app for you once I fix the error

Th0rgal commented 3 years ago

Thank you. Don't hesitate to ask if you need help.

Th0rgal commented 2 years ago

Hey! How is it going? Is there a way I can help? :)

aleksey-hoffman commented 2 years ago

Hey mate. Everything's fine, thanks I downloaded both NixOS Plasma Desktop and NixOS Gnome but I didn't have time to get to this issue yet.

I'm going to release v1.5 update in about 1 week. I can send you the pre-release v1.5 build (in a few days) so you can test it out and see if it works. Do you want to do that?

Th0rgal commented 2 years ago

Hey mate. Everything's fine, thanks

I downloaded both NixOS Plasma Desktop and NixOS Gnome but I didn't have time to get to this issue yet.

I'm going to release v1.5 update in about 1 week.

I can send you the pre-release v1.5 build (in a few days) so you can test it out and see if it works. Do you want to do that?

For sure that would be great, thank you!

heisfer commented 10 months ago

few notes on nixos

aleksey-hoffman commented 10 months ago

Guys, I will soon need some help with making Sigma v2 core available on all Linux platforms / package managers / stores / etc.

My plan is to turn Sigma into a small app base that you can use on any Linux platform and move most of its complex features into packages (extensions).

I will post v2 on Github and some more info on Twitter and Reddit soon