4 ms·
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
by chrisjc 7y ago
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.
- aphexairlines 7y agoNix derivations refers to https://nixos.org/nix/about.html https://nixos.org/nix/about.html
- Athas 7y ago"Derivation" is just Nix slang for "package". I mean that I contributed some packages to the Nixpkgs collection.
- patrec 7y agoHere's a concrete example: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/elvis/default.nix 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)
- dawidd6 7y agoHomebrew officially supports Linux since 2.0.0 release.
- deleted 7y ago[deleted]