News for hackers. Stuff that matters.
Re:About using Nix in my development workflow by servilio on Wednesday July 20, 2022 @05:24PM (#32172549)
It DOES have types, doesn't have type declarations, though.
Re:About using Nix in my development workflow by remexre on Wednesday July 20, 2022 @05:44PM (#32172816)
It doesn't have useful types for a lot of low-level abstractions; take, for example, all the stuff hanging off of stdenv -- if I'm trying to get nixpkgs up and running for a new C compiler that's neither GCC nor Clang, for example, it'd be really nice to know what all attributes need to be set for that. Instead, this ends up being a multi-day exploration through the nixpkgs source, where it turns out that (undocumentedly) the compiler must be named either gcc or clang...
Re:About using Nix in my development workflow by arrow7000 on Wednesday July 20, 2022 @05:42PM (#32172775)
So like JavaScript
Re:About using Nix in my development workflow by otabdeveloper4 on Thursday July 21, 2022 @09:54AM (#32179409)
The Nix language is basically just JSON with lambda functions and variables. (Modulo some random irrelevant syntax differences.)

So yes.