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

electron stopped to work on nixos-unstable #43297

Closed
ghost opened this issue Jul 10, 2018 · 6 comments
Closed

electron stopped to work on nixos-unstable #43297

ghost opened this issue Jul 10, 2018 · 6 comments
Labels
0.kind: regression Something that worked before working no longer

Comments

@ghost
Copy link

ghost commented Jul 10, 2018

Issue description

On nixos-unstable
electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Steps to reproduce

Technical details

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

  • system: "x86_64-linux"
  • host os: Linux 4.17.4, NixOS, 18.09pre145504.784f543cb76 (Jellyfish)
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.0.4
  • channels(root): "nixos"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@FRidh FRidh added the 0.kind: regression Something that worked before working no longer label Jul 10, 2018
@ghost
Copy link
Author

ghost commented Jul 11, 2018

Electron expression hasn't changed since last time it worked.
Maybe its related to gtk changes? @jtojnar

@jtojnar
Copy link
Member

jtojnar commented Jul 11, 2018

Not aware of any changes in GTK2. Well, I played with GConf but that did not hit unstable yet..

@jtojnar
Copy link
Member

jtojnar commented Jul 11, 2018

Looking at the expression, electron gets its rpath from atomEnv

--set-rpath "${atomEnv.libPath}:$out/lib/electron" \

Which was updated to gtk3 in b95b410. I guess that is the culprit.

@ghost
Copy link
Author

ghost commented Jul 11, 2018

@jtojnar Indeed. Thank you much!

@leotaku
Copy link
Contributor

leotaku commented Jul 11, 2018

Can this be fixed by just adding both gtk2 and gtk3 to atomEnv?

@ghost ghost mentioned this issue Jul 11, 2018
9 tasks
@jtojnar
Copy link
Member

jtojnar commented Jul 11, 2018

It would make it work but updating/fixing electron to work with GTK3 is what we should do instead.

jbboehr added a commit to jbboehr/nixpkgs that referenced this issue Jul 27, 2018
* Add gtk2 as dependency, see NixOS#43297
* Don't include version number in mist executable name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: regression Something that worked before working no longer
Projects
None yet
Development

No branches or pull requests

3 participants