Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscodium not working with xmonad? #80749

Closed
zeta-00 opened this issue Feb 21, 2020 · 19 comments
Closed

vscodium not working with xmonad? #80749

zeta-00 opened this issue Feb 21, 2020 · 19 comments

Comments

@zeta-00
Copy link

zeta-00 commented Feb 21, 2020

Issue description

Using Nix I installed vscodium using these instructions: https://nixos.wiki/wiki/VSCodium , and it is not working with xmonad without a desktop environment, maybe xmonad is missing some functionality?

Steps to reproduce

the maintainers of vscodium tell me that this is a nix related issue and sent me here, so here's the link: VSCodium/vscodium#341

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

@Kazimazi
Copy link
Contributor

It works well with bspwm. Have you tried with other wm?

@zeta-00
Copy link
Author

zeta-00 commented Feb 21, 2020

Hello @Kazimazi ,
No I haven't tried another wm, I am trying to figure why vscodium is not working with xmonad, maybe there is some nix setting that I need to set? at this point I have no idea?

@eadwu
Copy link
Member

eadwu commented Feb 21, 2020

There's no detail whatsoever to even begin debugging this. VSCodium works fine on XMonad.

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

hello @eadwu ,
It's good to know that vscodium does work on xmonad, but for me it is not working. Here is the error that vscodium is throwing when I try to open it: https://hastebin.com/omubabiqab.rb

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

@eadwu
also, i am using xmonad by itself without any desktop environment, so maybe xmonad needs some extra functionality for vscodium to work?

@eadwu
Copy link
Member

eadwu commented Feb 22, 2020

I'm using xmonad alone as well, does mkdir work fine on your system?

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

@eadwu
yes, mkdir is working fine on my system, searching my error on the internet does not bring up show anything similar to my issue, so i am not sure how to troubleshoot this?

@eadwu
Copy link
Member

eadwu commented Feb 22, 2020

Try --verbose --log trace

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

@eadwu
ok, i did that but it threw the same error:
[zeta@nixos:/~]$ codium --verbose --log trace
Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank"
[5374:0221/191851.563880:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
[main 2020-02-22T02:18:51.611Z] Error: ENOENT: no such file or directory, mkdir
[main 2020-02-22T02:18:51.613Z] Lifecycle#kill()

[zeta@nixos:/~]$

@eadwu
Copy link
Member

eadwu commented Feb 22, 2020

Output of nix-shell -p nix-info --run "nix-info -m"?

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

@eadwu

[zeta@nixos:/~]$ nix-shell -p nix-info --run "nix-info -m"

  • system: "x86_64-linux"
  • host os: Linux 5.4.19, NixOS, 19.09.2079.8731aaaf8b3 (Loris)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.2
  • channels(root): "nixos-19.09.2079.8731aaaf8b3, nixos-unstable-20.03pre211190.a21c2fa3ea2"
  • channels(zeta): ""
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

[zeta@nixos:/~]$

@eadwu
Copy link
Member

eadwu commented Feb 22, 2020

I can't seem to reproduce on any of the channels you are on, did vscodium work before if you used it? Have you tried rebuilding it nix-build "<nixpkgs>" -A vscodium --check and seeing if the outputs match or building from another channel?

Here's a command to build from master for example nix-build -I nixpkgs=https://api.github.com/repos/NixOS/nixpkgs/tarball/master "<nixpkgs>" -A vscodium

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

@eadwu
running: nix-build "" -A vscodium --check, threw this error:
searching for dependencies of /nix/store/djsy1j7d9b58543853wywaizia9qz0j4-vscodium-1.41.0/lib/vscode/libEGL.so
derivation '/nix/store/xi8pmp59yjh3s57dnkqykka5imz6nvng-vscodium-1.41.0.drv' may not be deterministic: output '/nix/store/djsy1j7d9b58543853wywaizia9qz0j4-vscodium-1.41.0' differs
error: build of '/nix/store/xi8pmp59yjh3s57dnkqykka5imz6nvng-vscodium-1.41.0.drv' failed

i didn't past the whole output because it's too long

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

i'll try: nix-build -I nixpkgs=https://api.github.com/repos/NixOS/nixpkgs/tarball/master "" -A vscodium , now

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

@eadwu
i installed vscodium using these instructions so i don't know why the errors started getting thrown, i am thinking maybe it has to do with my home.nix configuration, i have no idea?
https://nixos.wiki/wiki/VSCodium

@zeta-00
Copy link
Author

zeta-00 commented Feb 22, 2020

@eadwu
at this point i have no idea, i'll go ask the people in the #nixos channel to see if they can help

@eadwu
Copy link
Member

eadwu commented Feb 23, 2020

Did you try the executable from nix-build -I nixpkgs=https://api.github.com/repos/NixOS/nixpkgs/tarball/master "<nixpkgs>" -A vscodium?

@stale
Copy link

stale bot commented Aug 21, 2020

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 21, 2020
@zeta-00
Copy link
Author

zeta-00 commented Sep 15, 2020

@eadwu @Kazimazi : ok, I was finally able to get vscodium working with xmonad in home-manager(home.nix), it was a mistake on my end(typos and misplacementsof nix code), thanks for the help, and i'll close this issue now.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Sep 15, 2020
@zeta-00 zeta-00 closed this as completed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants