Snipaste / feedback

Feedback & wiki for Snipaste https://snipaste.com
2.94k stars 193 forks source link

NixOS doesn't work #2932

Open iQiexie opened 2 months ago

iQiexie commented 2 months ago

Contact Details

No response

What happened?

Hello! Thank you so much for the linux port. I managed to get it working on every other linux distro except for NixOS. It just unpacks and then nothing

It says that the appimage is installed

[user@nixos:~/Downloads]$ appimage-run Snipaste 
Snipaste installed in /home/user/.cache/appimage-run/549bf0dccd4e85f8e2fcfa08c67e2073d29c165e87d704585b93db7f5a79ae5

But when trying to actually launch the app, it doesn’t

[user@nixos:~/Downloads]$ cd /home/user/.cache/appimage-run/549bf0dccd4e85f8e2fcfa08c67e2073d29c165e87d704585b93db7f5a79ae58

[user@nixos:~/.cache/appimage-run/549bf0dccd4e85f8e2fcfa08c67e2073d29c165e87d704585b93db7f5a79ae58]$ ls -lah
total 24K
drwxr-xr-x 3 user users 4.0K Apr 27 14:35 .
drwxr-xr-x 3 user users 4.0K Apr 29 00:03 ..
lrwxrwxrwx 1 user users   16 Apr 27 14:33 AppRun -> usr/bin/Snipaste
-rw-r--r-- 1 user users 1.5K Dec 27 03:37 .DirIcon
-rw-r--r-- 1 user users  392 Apr 27 14:35 Snipaste.desktop
-rw-r--r-- 1 user users 1.4K Apr 27 14:33 Snipaste.png
drwxrwxr-x 6 user users 4.0K Apr 27 14:34 usr

[user@nixos:~/.cache/appimage-run/549bf0dccd4e85f8e2fcfa08c67e2073d29c165e87d704585b93db7f5a79ae58]$ ./AppRun 
bash: ./AppRun: cannot execute: required file not found

[user@nixos:~/.cache/appimage-run/549bf0dccd4e85f8e2fcfa08c67e2073d29c165e87d704585b93db7f5a79ae58]$ appimage-run AppRun 
Not an AppImage file

[user@nixos:~/.cache/appimage-run/549bf0dccd4e85f8e2fcfa08c67e2073d29c165e87d704585b93db7f5a79ae58]$ ./usr/bin/Snipaste 
bash: ./usr/bin/Snipaste: cannot execute: required file not found

I tried following the manual https://wiki.nixos.org/wiki/Appimage#Register_AppImage_files_as_a_binary_type_to_binfmt_misc, but it didn't help

It is also noticable that i managed to run ungoogled-chromium appimage without any problems. I also asked the question on NixOS forum but maybe I'll manage to get help here

Platform

Linux

Version

2.9-Beta2