Комментарии:
I am writing a python library in rust that will allow users to write system configs in python and it will compile into a nix file. The library is almost fully compatible with nix. I am also thinking of making lua, ruby and bash binding of the library(not yet done). I am also trying to make a lightweight "nix cli" written in rust which will make nix commands and evals much faster. It is like deno for nix. These projects are still alpha and i soon plan to release these under mit license. Please make suggestions of the features you want. I chose python as a language because i think it is the most approachable language to new users. Thanks @vimjoyer and @librephoenix for luring me into the rabbithole of nix.
ОтветитьBro plz make a video on how to contribute to nixpkgs
ОтветитьF# mentioned 🎉
ОтветитьI was tired and read the title as "make your coke better with pepsi"
ОтветитьIf only we could have statically typed nix
ОтветитьHonestly I think making Nix more readable is a critical thing to get right in order to foster more adoption. While the functional declarative simplicity is great for logical clarity it requires some up front learning to understand.
I think this piping is a good example of how the functionality can remain the same but we add some syntax sugar to make it look more like declarative config and less like spaghetti code.
I'm for logical simplicity though.
Wait… is this a monad?
ОтветитьThis is HUGE The pipe operator is so good ❄️🙌
ОтветитьInspired by Gleam?
ОтветитьSadly, the NixOS community has been hijacked by deranged woke individuals... 🏳️⚧️
ОтветитьJust like threading (first and last) in Clojure, which I use a lot. Great addition!
ОтветитьYesssss
ОтветитьI'd like to learn to self-host web applications using Nix and/or NixOS
Ответитьi like the more subtle background :) the one before was a bit distracting for me
ОтветитьAwesome video! I can't lie I was missing pipes a bit from other functional languages, awesome they're coming to Nix. I can't lie, I was doing that let expression variable nonsense a bit for some of my more complex Nix modules.
ОтветитьVimjoyer knows how to handle that heavy pipe!
ОтветитьThanks for the video!
ОтветитьNoice!
ОтветитьToo little metal pipe sound effects
Ответитьvimjoyer pipeline
ОтветитьBased pipe wrench
ОтветитьNew Video, Let's goooo.
Edit: I want and need this feature.