I love Nix so much, because you can just super easily contain an entire development environment in one file. This stuff is genuinely
Why isn't literally everyone using Nix?
[#]nix #nixos
=> More informations about this toot | More toots from Laauurraaa@mas.to
Here, a development environment that installs
And sets it up correctly, in an isolated environment? With a nice "hey, this is how you use this development environment" comment as a cherry on top?
The entire Nix file is 46 lines of code. Most of it boilerplate.
[#]nix #nixos
=> More informations about this toot | More toots from Laauurraaa@mas.to
@Laauurraaa Care to link the source? 🙂
=> More informations about this toot | More toots from pmidden@fosstodon.org
@pmidden The source is in the picture :p
https://github.com/Azeirah/L-Systems-editor
See the flake.nix in the repo.
=> More informations about this toot | More toots from Laauurraaa@mas.to
@Laauurraaa ahhh Lindenmayer systems. Cool stuff!
=> More informations about this toot | More toots from pmidden@fosstodon.org
@pmidden I actually wanted to study biology when I was in middle school but I kinda went for computer science because I felt like it was the obvious choice?
Well, turns out it's people who put things in boxes. Not life.
So I get to do both :D
=> More informations about this toot | More toots from Laauurraaa@mas.to
@Laauurraaa Well, there's also bioinformatics?
=> More informations about this toot | More toots from pmidden@fosstodon.org
@Laauurraaa @pmidden fyi the dedentation of the shell hook there isn't required: the nix language already eats leading indents in '' block literals so it will get eaten for you.
=> More informations about this toot | More toots from leftpaddotpy@hachyderm.io
@leftpaddotpy @pmidden Ohhh
I just spent a moment on your site. Have you seen the talk by Joe Armstrong? Before he died?
I read your article on postmodern build systems. My mind is barely wrapping itself around Nix, and you're suggesting the what's going to be blowing enthusiast people's minds 20 years from now... lmao
My mind can only do so much exploding every week
=> More informations about this toot | More toots from Laauurraaa@mas.to
@leftpaddotpy @pmidden
https://www.youtube.com/watch?v=lKXe3HUG2l4
This talk is sooo good. Mostly because it's by Joe, but also because it's soooo good.
Much recommend!
=> More informations about this toot | More toots from Laauurraaa@mas.to
@Laauurraaa @pmidden yeah i think I've watched this before but i enjoyed watching it again anyway. thanks for the link.
=> More informations about this toot | More toots from leftpaddotpy@hachyderm.io
@Laauurraaa As a pretty heavy nix user, I still can't say I love the language, but the results can hardly be argued with!
=> More informations about this toot | More toots from adriano@indieweb.social
@adriano Yeahh.. The language is a bit sketchy. But the ecosystem? Oh gosh, it's so good.
The fundamental principles? Even better.
Nix is a philosophy, not a tool.
=> More informations about this toot | More toots from Laauurraaa@mas.to
@adriano (although it happens to be a tool too!)
=> More informations about this toot | More toots from Laauurraaa@mas.to
@Laauurraaa Absolutely.
I've been using devenv
to do what you're doing here, btw. I imagine you've heard of it, but just in case you haven't, now you have!
=> More informations about this toot | More toots from adriano@indieweb.social
@Laauurraaa This is awesome! I still have struggles with flakes. 😭
=> More informations about this toot | More toots from mafe@layer8.space
@Laauurraaa you will greatly benefit from using nix-direnv! 😉
=> More informations about this toot | More toots from jean_dupont@mastodon.social
@Laauurraaa Ha, reading comments in images w/o alt text might help.
Thank you for sharing the public git repo in that screenshot, guess this will help me getting started!
=> More informations about this toot | More toots from mafe@layer8.space
@Laauurraaa
Why isn't literally everyone using Nix?
Because it's easier to complain about how they don't like the language.
=> More informations about this toot | More toots from cbleslie@hachyderm.io
@cbleslie Eh, I'd agree with them :p
Nix is an awful language.
But the Nix ideology? Holy moly.
=> More informations about this toot | More toots from Laauurraaa@mas.to
@Laauurraaa As I have said before:
"No one is here because Nix is a pretty language"
=> More informations about this toot | More toots from cbleslie@hachyderm.io
@cbleslie @Laauurraaa that's cold, Leslie 🥶
=> More informations about this toot | More toots from arichtman@eigenmagic.net
@arichtman @Laauurraaa what's cooler than being cool?
=> More informations about this toot | More toots from cbleslie@hachyderm.io
@cbleslie @Laauurraaa sure, not every user is writing their custom nix types or even lib helper functions , but it can it go towards , but even those who try/ do ( me for one, but just to be able to reuse my old code / system design not builds ) , end up struggling not to break the ideal guarantees
-- noob
=> More informations about this toot | More toots from xameer@mathstodon.xyz
@Laauurraaa Maybe because the NixOS foundation behind Nix has turned asshole-right-winged lately.
But I can't switch to GUIX yet as I don't get Guile and they're missing a lot of tools I desperately need.
(As I don't get Guile I can't provide that missing tools, obviously.)
=> More informations about this toot | More toots from mafe@layer8.space
@Laauurraaa It breaks with user habits, and that's why its adoption isn't this fast! People have literally died trying to climb the documentation!
=> More informations about this toot | More toots from jean_dupont@mastodon.social
@jean_dupont Whahaha that reminds me of the emacs learning curve.
=> More informations about this toot | More toots from Laauurraaa@mas.to
@Laauurraaa 😂😂😂
=> More informations about this toot | More toots from jean_dupont@mastodon.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini