GithubHelp home page GithubHelp logo

Comments (5)

rushmorem avatar rushmorem commented on April 28, 2024 2

Out of interest, how does the build process work from a dependency point of view? (as you know tikv-client builds fine in Github > Actions CI, but is tricky to build outside of that environment).

From NixOS' homepage:

Nix builds packages in isolation from each other. This ensures that they are reproducible and don't have undeclared dependencies, so if a package works on one machine, it will also work on another.

Does it work with Github Releases, or build from source?

It works with either. It can also work with binaries too. The preferred way of packaging in the Nix community, though, is to package from source.

Either way, definitely interested in investigating this...

You don't need to spend any time on this. I have been using NixOS since 2014. I already have a working flake I packaged using Naersk but I want to first convert it to Crane because it comes with some interesting features I think will be very helpful with our development environments.

from surrealdb.

rushmorem avatar rushmorem commented on April 28, 2024 1

Presumably statically-build binaries would be more suitable for the Nix packages?

Not really. Nix saves its packages inside /nix/store inside paths like /nix/store/0ignl03zfg6mvs50z4n929b6pyx3rhqj-rustc-1.61.0-x86_64-unknown-linux-gnu/. That's how it's able to have packages of different versions on the same system. The dependencies are dynamically linked by default.

from surrealdb.

tobiemh avatar tobiemh commented on April 28, 2024

Ok this sounds interesting @rushmorem .

Out of interest, how does the build process work from a dependency point of view? (as you know tikv-client builds fine in Github Actions CI, but is tricky to build outside of that environment).

Does it work with Github Releases, or build from source?

Either way, definitely interested in investigating this...

from surrealdb.

tobiemh avatar tobiemh commented on April 28, 2024

Ok awesome @rushmorem . A musl build for Alpine Linux should also be on our roadmap at some point. Presumably statically-build binaries would be more suitable for the Nix packages?

from surrealdb.

rushmorem avatar rushmorem commented on April 28, 2024

Implemented in #100.

from surrealdb.

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.