The issue I am facing is that it installs ok (using nix-env -f . -iA jetbrains-toolbox);
but running jetbrains-toolbox gives error
dlopen(): error loading libfuse.so.2
AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
When I add fuse as a dependency then it gives error
This doesn't look like a squashfs image.
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory
Any help on what I am doing wrong will be great! Thank you!
16:55:12 ? jetbrains-toolbox --version ~/somenix
This doesn't look like a squashfs image.
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory
Thank you for your response. I really appreciate it.
No I had not tried it but it seems like something that would create an environment? How do you incorporate this nix-shell env script into, say installation?
these derivations will be built:
/nix/store/v3zr6m2yxjn1a9jips24lwpr50q6ywv0-jetbrains-toolbox-usr-target.drv
/nix/store/q9i2fk0fmgng3c932128afbxrvy3r9bx-jetbrains-toolbox-fhs.drv
/nix/store/46sxd26nfk4vmrai4zxqfv6p1mzay5nd-jetbrains-toolbox-init.drv
building '/nix/store/v3zr6m2yxjn1a9jips24lwpr50q6ywv0-jetbrains-toolbox-usr-target.drv'...
collision between `/nix/store/5hvxigc4xr8lir3kyfy6lcmlhvbs9y7i-glibc-multi-2.31-74/lib/locale/locale-archive' and `/nix/store/23xygjg9rwqa6jbcrrmlv3xz6qlg5kcj-glibc-locales-2.31-74/lib/locale/locale-archive'
collision between `/nix/store/g490crrmig6ffbjk5qxd5siavypng6ld-gcc-9.3.0-lib/lib64/libgcc_s.so.1' and `/nix/store/5hvxigc4xr8lir3kyfy6lcmlhvbs9y7i-glibc-multi-2.31-74/lib64/libgcc_s.so.1'
collision between `/nix/store/g490crrmig6ffbjk5qxd5siavypng6ld-gcc-9.3.0-lib/lib64/libgcc_s.so' and `/nix/store/5hvxigc4xr8lir3kyfy6lcmlhvbs9y7i-glibc-multi-2.31-74/lib64/libgcc_s.so'
collision between `/nix/store/g490crrmig6ffbjk5qxd5siavypng6ld-gcc-9.3.0-lib/lib/libgcc_s.so.1' and `/nix/store/5hvxigc4xr8lir3kyfy6lcmlhvbs9y7i-glibc-multi-2.31-74/lib/libgcc_s.so.1'
collision between `/nix/store/g490crrmig6ffbjk5qxd5siavypng6ld-gcc-9.3.0-lib/lib/libgcc_s.so' and `/nix/store/5hvxigc4xr8lir3kyfy6lcmlhvbs9y7i-glibc-multi-2.31-74/lib/libgcc_s.so'
Use of uninitialized value in string eq at /nix/store/xd7n3la4g3zn7xmm4mfdjfzgm18s84dn-builder.pl line 133.
collision between `/nix/store/4mmqm21fdr7514067snjsaii7jn82pap-shadow-4.8.1/etc/pam.d' and `/nix/store/dib72bxvjk4kpbhnjjc4lajdjwad078v-jetbrains-toolbox-chrootenv-etc/etc/pam.d'
Use of uninitialized value in string eq at /nix/store/xd7n3la4g3zn7xmm4mfdjfzgm18s84dn-builder.pl line 133.
collision between `/nix/store/4mmqm21fdr7514067snjsaii7jn82pap-shadow-4.8.1/etc/login.defs' and `/nix/store/dib72bxvjk4kpbhnjjc4lajdjwad078v-jetbrains-toolbox-chrootenv-etc/etc/login.defs'
Use of uninitialized value in string eq at /nix/store/xd7n3la4g3zn7xmm4mfdjfzgm18s84dn-builder.pl line 133.
created 5472 symlinks in user environment
building '/nix/store/q9i2fk0fmgng3c932128afbxrvy3r9bx-jetbrains-toolbox-fhs.drv'...
building '/nix/store/46sxd26nfk4vmrai4zxqfv6p1mzay5nd-jetbrains-toolbox-init.drv'...
fusermount: /nix/store/v6l2sacryfr88yqq0pq7sia8wfgm9q31-wrapper.c:203: main: Assertion `!(st.st_mode & S_ISUID) || (st.st_uid == geteuid())' failed.
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory
It looks like you’re trying to use the appImage. I believe the appImage support in NixOS uses buildFHSUserEnv under the hood, so in a sense you’ve already been there done that.
Try it with the tarball download instead. The Sidequest package (pkgs/applications/misc/sidequest/default.nix) uses buildFHSUserEnv, for example.
$ ./result/bin/jetbrains-toolbox ~/proj/nix-nixos/trials/jetbrains-toolbox
This doesn't look like a squashfs image.
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory
not really. I just could not figure out and ended up just using direct installs. I would love to do this but if you figure this out please let me know.
Thank you very much for getting the package into nixpkgs!
Did you have luck using a tool installed by the jetbrains-toolbox? For example when I use clion, the git client called inside the app seg faults for me… The GitHub Copilot plugin works tho.