Re:Nix – A One Pager
by orbital-decay on Sunday April 07, 2024 @04:01AM
(#39959099)
Is it that much of a DSL when domain-specific primitives are mostly abstracted away in a standard library written in Nix itself, with underlying machinery written in shell, and when it heavily relies on shell and foreign config snippets to do the job?
[ Parent
| on HN ]
Much of JavaScript's underlying machinery is also written in C++, how do you feel about that?
Re:Nix – A One Pager
by orbital-decay on Sunday April 07, 2024 @04:56AM
(#39959384)
I usually don't need to write C++ when writing in JavaScript, though. Writing derivations in Nix in real world implies using the standard library and writing shell scripts for mkDerivation & co. ("domain specific" shell scripts that use stdenv)