News for hackers. Stuff that matters.
Re:Ask HN: Best Alternative to Homebrew in 2021? by chriswarbo on Tuesday November 02, 2021 @11:10AM (#29082413)
> Rather, it's worth explaining why it's bad to use.

My biggest problem is that it's not version-controlled. I don't use home-manager, and (still) haven't looked into Nix flakes.

Instead, I put `export PATH="/path/to/my/repo/result/bin:$PATH"` in my ~/.bashrc, and inside that repo I have a default.nix file:

    buildEnv {
      name  = "my-packages";
      paths = [ foo bar baz ... ];
    }
Running `nix-build` will update the result/bin symlink to point at the new applications.

There are no comments on this comment yet.