Giter Site home page Giter Site logo

Comments (10)

aadcg avatar aadcg commented on July 19, 2024 1

start-slynk works if you get Nyxt from the official means of distribution.

For other platforms, see this hint or wait until #3169 is merged.

from nyxt.

aadcg avatar aadcg commented on July 19, 2024

Thanks @fosskers for reporting.

Note that it works on Guix, the only package manager for which the Nyxt team curates the distribution officially.

Duplicate of #3153. I'm still not sure how we should fix it. I need to study where SLY and Slime look for the server files.

As a dirty hot fix, you may copy the files to that directory.

from nyxt.

fosskers avatar fosskers commented on July 19, 2024

Ah apologies, I looked for similar reports but didn't find one, and yet there it is plain as day.

Is there a way to configure Nyxt to look in the usual ASDF locations for CL dependencies? For a build provided by a system package manager, certainly /build/nyxt/src/_build/sly/contrib/ would never normally exist.

from nyxt.

aadcg avatar aadcg commented on July 19, 2024

@fosskers my impression is as follows (though I need to dig deeper). Nyxt ships Slynk (so that it can start the server) and there's another Slynk available at your machine locally so that you connect to the server. The issue here is that the locally available Slynk is trying to use the Slynk that Nyxt ships, instead of the local one.

from nyxt.

fosskers avatar fosskers commented on July 19, 2024

Ah well I do have the sly Emacs package installed, but when one runs sly-connect it just connects to whatever slynk server is running, even if that's running remotely (say, through an SSH tunnel).

So I suspect the issue is not due to a conflict of two Slynks.

Looking at the path it's trying to find, it looks like an absolute path:

/build/nyxt/src/_build/sly/contrib/

But certainly /build/ would never exist on a normal Unix system. Is Nyxt assuming that those absolute-looking paths would be interpreted in a special way relative to some custom-set Nyxt-specific ASDF path?

from nyxt.

fosskers avatar fosskers commented on July 19, 2024

Actually, is there a way for me, when connected to the Slynk within Nyxt, to query the runtime about where it thinks /build/nyxt/... is? Like, where Nyxt expects its build files to be?

Doing all of this from master works probably because I have nyxt cloned to ~/common-lisp/, but the same can't be said of the nyxt that comes from the system package manager.

from nyxt.

aadcg avatar aadcg commented on July 19, 2024

I'm fixing it soon @fosskers. You'll notify you if you're interested in testing it.

from nyxt.

fosskers avatar fosskers commented on July 19, 2024

Thank you yes, I'd be happy to.

from nyxt.

aadcg avatar aadcg commented on July 19, 2024

I finally understood it! Look a while unfortunately, but after all it wasn't so hard. I'll open a PR soon.

from nyxt.

fosskers avatar fosskers commented on July 19, 2024

Thank you very much!

from nyxt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.