akirakyle / emacs-webkit

An Emacs Dynamic Module for WebKit, aka a fully fledged browser inside emacs
GNU General Public License v3.0
422 stars 25 forks source link

"TLS/SSL support not available; install glib-networking" when using `emacsWithPackages` #31

Open lambdadog opened 3 years ago

lambdadog commented 3 years ago

Despite default.nix including glib-networking, something seems to be failing that's causing emacs-webkit to not identify it, as when installing via nix using emacsWithPackages I'm getting this error.

akirakyle commented 3 years ago

I would again ping @bqv since he's probably more adept at nix-foo than me.

bqv commented 3 years ago

Emacs needs to be gapps wrapped itself, not this module. That was a bit of a red herring. See bqv/nixrc for my example

lambdadog commented 3 years ago

This works, but isn't a happy solution to me. I wonder if it would be possible to upstream inheriting gapps wrapping from packages to emacsWithPackages.

It seems like there's a viable usecase for it with emacs native modules, and nix has no problems packaging them compared to the somewhat more annoying solution of having to compile them on first run/distribute precompiled libraries for solutions like package.el.

bqv commented 3 years ago

obviously the other solution is to setup the environment that gapps wrapping adds, using elisp, prior to loading the dynamic module. feel free to do that, but it is infinitely worse for maintainability/tidiness

lambdadog commented 3 years ago

@bqv That definitely sounds vile, yes. I'll poke into upstreaming inheriting gapps wrapping from packages.