Hacker News new | ask | show | jobs
by keybored 802 days ago
https://wiki.nixos.org/wiki/Overview_of_the_Nix_Language

> The Nix language is designed for conveniently creating and composing derivations – precise descriptions of how contents of existing files are used to derive new files.

I’m getting Wikipedia math vibes.

2 comments

Reminds me of the Haskell entry on the Brief, Incomplete, and Mostly Wrong History of Programming Languages [0].

"1990 - A committee formed by Simon Peyton-Jones, Paul Hudak, Philip Wadler, Ashton Kutcher, and People for the Ethical Treatment of Animals creates Haskell, a pure, non-strict, functional language. Haskell gets some resistance due to the complexity of using monads to control side effects. Wadler tries to appease critics by explaining that "a monad is a monoid in the category of endofunctors, what's the problem?""

Math people: "What if we made software code more like mathematical proofs?"

Idk. What if you had dated before age 38?

[0] http://james-iry.blogspot.com/2009/05/brief-incomplete-and-m...

You've only scratched the surface.

> pkgs.mkShell is a specialized stdenv.mkDerivation that removes some repetition when using it with nix-shell (or nix develop).

https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-mkShell