sigma-file-manager
sigma-file-manager copied to clipboard
Unable to start on nixos
Is there an existing issue for this?
- [X] I have searched the opened issues
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
- Install nixos or nix
- load my nix derivation: https://gist.github.com/Th0rgal/09f48a28a9b21eefdeda911bbf8afbdf
Environment
- OS: Nixos 21.05
- App version: 1.3.0
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
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:
- Node
15.14.0 - Build tools package installed for node-gyp
sudo apt-get install build-essential - Then clone the project
git clone https://github.com/aleksey-hoffman/sigma-file-manager.git cd sigma-file-managernpm installnpm run electron:build
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)
Alright, thanks for your answer. Should I close the issue or wait for 1.5?
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
Thank you. Don't hesitate to ask if you need help.
Hey! How is it going? Is there a way I can help? :)
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?
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!
few notes on nixos
- Node JS 15 is EOL so no package on nixpkgs
- Old version of electron so no wayland (native) support
- PR based on appimage 1.7.0 https://github.com/NixOS/nixpkgs/pull/273954
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