GithubHelp home page GithubHelp logo

Support NixOS about bob HOT 4 CLOSED

Hubro avatar Hubro commented on July 3, 2024
Support NixOS

from bob.

Comments (4)

Hubro avatar Hubro commented on July 3, 2024 2

Actually never mind, I did a little more research on how to make pre-compiled binaries work on NixOS and I found this: https://unix.stackexchange.com/a/522823/17214

Apparently there's a NixOS program called nix-ld that is built-in since 22.05. Enabling it sets up symlinks that let executables with hard coded library paths work.

It still doesn't make AppImages work (fully), but it does make --appimage-extract work! This means that bob now works without any changes.

To any NixOS user that finds this thread, you basically just need to add:

{
  programs.nix-ld.enable = true;
}

And bob will work with no changes.

from bob.

MordechaiHadad avatar MordechaiHadad commented on July 3, 2024

I guess it's time to rollback to using tar.gz neovim provided, glad they didn't stop supporting it.

from bob.

marcomayer avatar marcomayer commented on July 3, 2024

I have maybe the same issue, when doing bob install nightly (stable works fine) I get:

Downloaded version nightly to /home/mmayer/.local/share/bob/nightly.appimage
  [00:00:00] [█████████████████████████████████████████████████████████████████████████████] 17.35MiB/17.35MiB (953.67MiB/s, 0s)
Feb 15 08:55:32.233 ERROR Error: No such file or directory (os error 2)

But I'm not on NixOS but using nix package manager/home-manager on Ubuntu so I can't set nix-ld.enable=true. Any other known workaround for this, maybe @Hubro ?

from bob.

Hubro avatar Hubro commented on July 3, 2024

I have maybe the same issue, when doing bob install nightly (stable works fine) I get:

Downloaded version nightly to /home/mmayer/.local/share/bob/nightly.appimage
  [00:00:00] [█████████████████████████████████████████████████████████████████████████████] 17.35MiB/17.35MiB (953.67MiB/s, 0s)
Feb 15 08:55:32.233 ERROR Error: No such file or directory (os error 2)

But I'm not on NixOS but using nix package manager/home-manager on Ubuntu so I can't set nix-ld.enable=true. Any other known workaround for this, maybe @Hubro ?

If you're on Ubuntu then this definitely isn't the same issue. Ubuntu follows FHS and basic dynamic links should work.

From the error message, it could be an issue with dynamic links, a missing binary that Bob requires or any number of other things.

Are there any log files with more information, or is it possible to enable debug logging or verbose output?

from bob.

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.