News for hackers. Stuff that matters.
Re:Homebrew 2.2 by chrisjc on Wednesday November 27, 2019 @11:03AM (#21648969)
What are some 'Nix derivations'? I hate to say it, but I haven't heard of any, let alone used any.

edit: I guess I know lots: snappy, dpkg, apk-tools, etc... I somehow think of brew as different from this list though. I find myself often wishing that brew worked on linux.

Re:Homebrew 2.2 by patrec on Wednesday November 27, 2019 @12:57PM (#21650229)
Here's a concrete example:

https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio...

Maybe the three most noteworthy things are:

1. it's not hard to write your own nix expression

2. you get a reproducible build

3. there are very powerful hooks to allow you to easily customize derivations by various means (look at some more complex derivation, like php, which defines dozens of options and there are other mechanisms as well).

1. Brew also has, but not 2 or 3 (it's definitely more customizable than say debian packages, but much less so than nix)

Re:Homebrew 2.2 by Athas on Wednesday November 27, 2019 @11:20AM (#21649164)
"Derivation" is just Nix slang for "package". I mean that I contributed some packages to the Nixpkgs collection.
Re:Homebrew 2.2 by dawidd6 on Wednesday November 27, 2019 @01:00PM (#21650251)
Homebrew officially supports Linux since 2.0.0 release.
Re:Homebrew 2.2 by aphexairlines on Wednesday November 27, 2019 @11:20AM (#21649162)
Nix derivations refers to https://nixos.org/nix/about.html