Show HN: Brioche – A new Nix-like package manager

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

    Nix Packages collection & NixOS

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • porkg

    I'm also exploring a post-Nix package manager, wip: https://github.com/porkg/porkg

    My mantra has been to avoid "getting bored" and inventing DSLs for the longest time. I initially sought to use Nickel-lang, but it was missing some features that would make it an ideal candidate for this. I started writing my own (you may find this in the history) before realizing "WTF are you doing writing another shitty DSL?" I have subsequently decided that shell scripts (or anything you can shebang) are good enough, i.e. pkgbuild inspiration.

    I also plan to avoid making a derivation the source of reproducibility. Instead, a lockfile will offer that. This should alleviate the issue whereby updating the like of glibc cascades into an entire rebuild.

    Any *OS and home-manager would need to bring in a configuration language. I think Cue really makes the most sense, but that's still a long way off.

  • cue

    The home of the CUE language! Validate and define text-based and dynamic configuration

    Agreed on all counts, especially the central issue with nix and the properties that I'd want out of a replacement. I think CUE ( https://cuelang.org/ ) is a perfect language for this.

  • brioche-packages

    Brioche packages, which get auto-published to the Brioche Registry

    Nushell has definitely been on my radar for a while! but I missed DetSys was playing around with it, I'll have to give that a look

    One neat thing about Brioche is that Bash isn't really baked into it the same way as the Nix ecosystem. In a lot of the docs and examples, I used the `std.runBash` Brioche function for running scripts, but that's a fairly simple 11-line function[^1]. I wanted to make it just as easy to add `runZsh`, `runFish`, `runNushell`, etc. functions that work just as well as Bash (and they could either be put in the std library or in their own packages). So hopefully, there will be a Brioche `runNushell` function in the near future :)

    [^1]: https://github.com/brioche-dev/brioche-packages/blob/9fd5109...

  • devbox

    Instant, easy, and predictable development environments

    There's also [devbox](https://github.com/jetify-com/devbox).

    Tried a lot of them, and after a while I found the nix the package manager requires too many workarounds. Things don't just work. For example, installing alacritty requires an OpenGL wrapper. Neovim can't find libraries to build some plugins. Basically, anything GUI had issues.

    In the end, `cargo install`, `go install` and download a release archive from github are simpler to script for most of the tools I use.

  • garn

    garn is a build tool and environment manager that replaces justfiles/makefiles, docker, and the annoying parts of READMEs. The builders lingua franca.

    Looks awesome! Congrats on the release. I would be curious to hear your thoughts on how this compares to garn [1], a typescript front end to the existing nixpkgs ecosystem.

    1: https://garn.io/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Setting up my new laptop: Nix style

    5 projects | news.ycombinator.com | 24 Dec 2022
  • Not a developer, is nix os good for daily regular use without going through the hard stuff ?

    2 projects | /r/NixOS | 6 Dec 2022
  • About using Nix in my development workflow

    10 projects | news.ycombinator.com | 20 Jul 2022
  • Ask HN: Happy Thanksgiving What technology are you thankful for?

    1 project | news.ycombinator.com | 28 Nov 2024
  • Epic Allows Internet Archive to Distribute Unreal and Unreal Tournament Forever

    4 projects | news.ycombinator.com | 19 Nov 2024

Did you konow that Go is
the 4th most popular programming language
based on number of metions?