resholve VS nix

Compare resholve vs nix and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
resholve nix
11 373
210 10,943
- 2.9%
8.0 10.0
12 days ago 2 days ago
Python C++
MIT License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

resholve

Posts with mentions or reviews of resholve. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-26.
  • What is the Flakes version of "reproducible interpreted scripts"?
    6 projects | /r/NixOS | 26 Apr 2023
    I'm also not 100% on whether it answers the question, but I imagine you're thinking of https://github.com/abathur/resholve (doc in nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/misc/resholve/README.md)
  • modular bash profile scripting with shellswain
    2 projects | /r/programming | 24 Jan 2023
    I intend to eventually find some time to figure out how feasible it would be to use https://github.com/abathur/resholve or wrapper techniques to bolt basalt (and perhaps other bash PMs) on to the nix ecosystem and nix-package some of your libraries.
  • Is there a good way to programmatically determine how many inputs some function can support?
    3 projects | /r/bash | 16 Jan 2023
    (I'd love to have this ability for https://github.com/abathur/resholve to reliably identify arguments to one command that are also external commands/programs that it will in turn exec. I can't imagine trying to start it until/unless I have any bright ideas about how that executable spec and a parser for it would work.)
  • Could someone give me an example how I would have multiple "commands" in default.nix?
    2 projects | /r/NixOS | 13 Oct 2022
    In https://github.com/abathur/resholve/blob/master/default.nix and https://github.com/abathur/resholve/blob/master/shell.nix you can see one approach to extending that line of thought to the default.nix itself.
  • Building the Future of the Command Line
    8 projects | news.ycombinator.com | 15 Sep 2022
    Completions have in general been of interest, though the shell-specific completions I've looked at so far were all too dynamic.

    I'd forgotten all about Fig since I saw your launch post here last year, so thanks for reminder. (I don't think I had quite started to work on parsing specific external commands, yet. Was still focused on just identifying the likely presence of exec in the executables.)

    Are you familiar with the parse code? Are you handling painful stuff like combined short flags with a trailing option? (If I ferreted out some of the more painful cases I've had to wrangle, I am curious if you'd have a gut sense of whether your approach handles it. Would you mind if I reach out? I am working on this for https://github.com/abathur/resholve)

  • Devbox: Instant, easy, and predictable shells and containers
    16 projects | news.ycombinator.com | 25 Aug 2022
    @dloreto @robrich A little aside from the announcement, but since it seems like you both work on this I wanted to surface something that came up down in a subthread:

    I'm curious if you attempted to support macOS by doing this with Nix's dockerTools and cross-compiling (there may be better sources, but it's at least hinted at in https://nix.dev/tutorials/building-and-running-docker-images...)? If so, I'm wondering where that failed or bogged down?

    ---

    Background: I build a tool (https://github.com/abathur/resholve) for ~packaging Bash/Shell (i.e., for demanding all dependencies be present). The tool's technically agnostic, but I built it specifically to fix Shell packaging in Nix.

    I think it could benefit a lot of other Shell projects, since one of Shell's big tribulations is dealing with heterogenous environments, but most Shell projects wouldn't see much reason to endure the pain of adopting Nix if they still had to support the heterogenous environments.

    Much like you're doing here, I've entertained figuring out how to build a Nix-based packaging flow that can generate deployable standalone bundles or containers. It'd be a heavy way to bundle Shell, but I imagine some projects would take the tradeoff for predictability and reduced support load. But since it would need to take place within a Nix build, I'd need to cross-compile for it to work on macOS. Hoping you know if it's a dead-end or not :)

  • Ask HN: Why aren't code diagram generating tools more common?
    6 projects | news.ycombinator.com | 4 Jun 2022
    For a concrete example, I've been developing a tool (https://github.com/abathur/resholve) that can ~build/link Bash/Shell scripts--i.e., rewrite them with external executables converted to absolute paths. (This helps ensure dependencies are known, declared, present, and don't have to be on the global PATH for the script to execute cleanly.)

    There's a devilish sub-problem, which is that any given executable can potentially exec arbitrary arguments. For now I handle this with a very crude automated binary/executable analysis that needs to be augmented by human source analysis. Deep multi-language source analysis wouldn't be very scalable, but I suspect fairly-standardized structural annotations could improve the results in a scalable way.

    I have to imagine there are other applications of the same information.

  • I wrote an article about creating unit-tests and mocks for POSIX shells
    1 project | /r/commandline | 29 May 2022
    I'm not 100% sure if you see the minimal PATH dependencies as a problem or not--so this may or may not help--but I develop https://github.com/abathur/resholve to make it easier to package Shell in Nix/nixpkgs by rewriting invocations of external dependencies in Shell scripts to absolute paths--and shunit2 is one of the Nix packages that I've updated to use resholve.
  • On Env Shebangs
    3 projects | news.ycombinator.com | 15 Apr 2022
    I came here to say this, too :)

    But, of course, it still isn't a silver bullet...

    1. You still have to have a sane PATH. A fair amount of the Nix install-related issues that get opened are PATH problems, and you can also run into problems with PATH in cron/launchd.

    2. You still have to know what the script depends on. This can get tricky beyond small scripts you wrote yourself. (I write a tool for ~linking/resolving external dependencies in Shell scripts, https://github.com/abathur/resholve. As I've been working on converting some of nixpkgs' existing Shell packages to use it, I almost always find dependencies the initial packager missed.)

  • Runtime dependencies for a bash script
    3 projects | /r/NixOS | 2 Dec 2021
    Check out resholve. https://github.com/abathur/resholve

nix

Posts with mentions or reviews of nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-28.
  • OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computers
    2 projects | news.ycombinator.com | 28 Apr 2024
  • Eelco Dolstra's leadership is corrosive to the Nix project
    6 projects | news.ycombinator.com | 22 Apr 2024
    > https://github.com/NixOS/nix/pull/9911#issuecomment-19252073...
  • I use NixOS for my home-server, and you should too!
    1 project | dev.to | 22 Apr 2024
    As we covered in my last post, NixOS is a amazing Linux distribution for creating stable and declared environments. Now while this is amazing for a desktop setup, it is also perfect for a home-server or home-lab.
  • Tvix – A New Implementation of Nix
    8 projects | news.ycombinator.com | 16 Apr 2024
    (Nix itself is slowly chugging along with Windows via MinGW - https://discourse.nixos.org/t/nix-on-windows/1113/108 and https://github.com/NixOS/nix/issues/1320 , for example.)
  • Colima k8s nix setup
    4 projects | dev.to | 16 Apr 2024
    Nix is a cross-platform package manager. It uses the nix programming language. Nix and NixOs are often used in the same context, but while the first is a package manager, the latter is a linux distribution based on nix.
  • NixOs - Your portable dev enviroment
    1 project | dev.to | 8 Apr 2024
    Today I want to talk to you about Nixos. What is it? Nixos is a declarative and reproducible OS, partly taking the words used on their own page. What does that mean?
  • Nix – A One Pager
    6 projects | news.ycombinator.com | 6 Apr 2024
    Software developers often want to customize:

    1. their home environments: for packages (some reach for brew on MacOS) and configurations (dotfiles, and some reach for stow).

    2. their development shells: for build dependencies (compilers, SDKs, libraries), tools (LSP, linters, formatters, debuggers), and services (runtime, database). Some reach for devcontainers here.

    3. or even their operating systems: for development, for CI, for deployment, or for personal use.

    Nix provision all of the above in the same language, with Nixpkgs, NixOS, home-manager, and devShells such as https://devenv.sh/. What's more, Nix is (https://nixos.org/):

    - reproducible: what works on your dev machine also works in CI in prod,

    - declarative: you version control and review your configurations and infrastructure as code, at a reasonable level of abstraction,

    - reliable: all changes are atomic with easy roll back.

  • Tools for Linux Distro Hoppers
    7 projects | dev.to | 27 Mar 2024
    Hopping from one distro to another with a different package manager might require some time to adapt. Using a package manager that can be installed on most distro is one way to help you get to work faster. Flatpak is one of them; other alternative are Snap, Nix or Homebrew. Flatpak is a good starter, and if you have a bunch of free time, I suggest trying Nix.
  • Ask HN: Could Nix make crypto mining more efficient?
    1 project | news.ycombinator.com | 1 Mar 2024
    - it reduces bloat, because you can generate an environment or OS image with only the software needed to run a specific program or service

    My guess is that a big efficiency gain would come from the second point, because you don't waste CPU on code that you don't use.

    Does this make sense? Has anyone explored this?

    [0]: https://nixos.org

  • Go + Hypermedia - A Learning Journey (Part 1)
    6 projects | dev.to | 23 Feb 2024
    1) Setting up the development environment - I currently use devcontainers for most things, but may also dig into nix -> isolated, portable, repeatable development environment 2) Exploring Echo - understand routing, requests, response, etc. 3) Incorporate Templ - integration with Echo, template composition, etc. 4) Integrating TailwindCSS - config for use with Echo/Templ, development cycle, deployment, etc. 5) Add in HTMX - endpoints, template structure, concepts, etc. 6) hyperscript for interactivity - client side interactivity

What are some alternatives?

When comparing resholve and nix you can also consider the following projects:

datashare - A self-hosted search engine for documents.

asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

mpack - MPack - A C encoder/decoder for the MessagePack serialization format / msgpack.org[C]

distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox

egglog0 - Datalog + Egg = Good

void-packages - The Void source packages collection

devbox - Instant, easy, and predictable development environments

flatpak - Linux application sandboxing and distribution framework

py_regular_expressions - Learn Python Regular Expressions step by step from beginner to advanced levels

homebrew-emacs-plus - Emacs Plus formulae for the Homebrew package manager

swift-sh - Easily script with third-party Swift dependencies.

guix - Read-only mirror of GNU Guix — pull requests are ignored, see https://guix.gnu.org/en/manual/en/guix.html#Submitting-Patches instead