relocatable.nix

A nix bundler that produces relocatable deployment script for nix store paths. (by Ninlives)

Relocatable.nix Alternatives

Similar projects and alternatives to relocatable.nix

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better relocatable.nix alternative or higher similarity.

relocatable.nix reviews and mentions

Posts with mentions or reviews of relocatable.nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-26.
  • The Magic Nix Cache
    9 projects | news.ycombinator.com | 26 Jun 2023
    - the caching works across branches, so for example merging a feature branch to master, if nothing changes the build on master will be very quick

    I created something similar to nix-cache for gitlab, but I had to create a dedicated runner running NixOS.

    If I could use NixOS for deployment, at that point I would just point the same binary cache to the machine and use the same derivation to build the app. Because the app was already build by CI, it would just download the compiled version. No need for artifactory or similar. In that scenario (you using poetry) you probably would just use poetry2nix to generate the application.

    If the OS is not NixOS, but you still want to deploy via nix, then IMO this[2] looks interesting, basically it packages everything in self extracting archive. That you can extract and then run the app.

    Other alternatives are these bundlers[3], which includes building toArx (works in a way similar to the previous one but pretends everything is in a single file), RPM, DEB, docker (you would have more control over it if you would use the code directly instead of a bundler though)

    And the last option (probably the most obvious one) is that you can simply just use the tool to build the package. Since you're using poetry, then you can generate a wheel from it.

    [1] https://github.com/takeda/nix-cde/blob/master/contrib/gitlab...

    [2] https://github.com/Ninlives/relocatable.nix

    [3] https://github.com/NixOS/bundlers/blob/master/flake.nix

  • Introducing relocatable.nix
    1 project | /r/NixOS | 17 Jun 2022

Stats

Basic relocatable.nix repo stats
2
57
1.8
almost 2 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com