Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
regnat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Flox, Nix for Simplicity and Scale
(floxdev.com)
13 points
by
regnat
4y ago
|
6 comments
2.
▲
DIY benchmark history
(tweag.io)
2 points
by
regnat
8y ago
|
0 comments
3.
▲
by
regnat
9y ago
You can install Nix in a totally unprivileged fashion, without having to use hacks such as PRoot, you just need to configure it to use a directory you have write access to instead of /nix. But doing so breaks the ability to use the off
4.
▲
by
regnat
9y ago
Well... This is a sort of whitespace sensitivity, and I don't really like it, because that means that some tokens may or may not be meaningful depending on the context, which increases the complexity of the syntax -- and syntax is prob
5.
▲
by
regnat
9y ago
Thanks, it should be fixed now
6.
▲
by
regnat
9y ago
I see. But that means using a whitespace-sensitive syntax, which some people (including me ;) ) don't really like
7.
▲
by
regnat
9y ago
For your last point, you don't have to use the channels (which will anyway be deprecated at some point iirc), and you can pin the nixpkgs version in your nix files (like it is done in https://garbas.si/2015/reprodu
8.
▲
by
regnat
9y ago
The only place where I think we could make the semicolons optional is at the end of a let-binding or a record (like json does iirc), which would indeed be a small but blessed change. For the array litterals, I don't really see which im
9.
▲
by
regnat
9y ago
My tool could, but (for now, at least) it is a separate project from the main Nix interpreter, and this one is notably slow to evolve
10.
▲
by
regnat
9y ago
You might be interested in dhall[0] and dhal-to-nix[1] which provides a really neat haskell-like language that compiles to nix. [0]: https://github.com/Gabriel439/Haskell-Dhall-Library [1]: https://github.co
11.
▲
by
regnat
9y ago
Unfortunately no, except maybe for some very minor tweaks that have a chance to be included in vanilla nix, but otherwise this would most probably either mean the death of this project or a split in the (already small) community, which I bo
12.
▲
by
regnat
9y ago
Hi, author here. While I agree that the language could be improved, I wonder why you say that this makes it uglier, and how you'd imagine a better solution (this is still in development, and any idea is welcome).
13.
▲
Typing Nix
(tweag.io)
206 points
by
regnat
9y ago
|
125 comments