Ancestors

Toot

Written by Laauurraaa on 2024-12-02 at 16:22

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

Descendants

Written by Laauurraaa on 2024-12-02 at 16:24

Here, a development environment that installs

  1. Bun

  1. Playwright

  1. Chrome, firefox and a generic webkit browser

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

=> View attached media

=> More informations about this toot | More toots from Laauurraaa@mas.to

Written by Philipp :emacs: :nixos: on 2024-12-02 at 17:14

@Laauurraaa Care to link the source? 🙂

=> More informations about this toot | More toots from pmidden@fosstodon.org

Written by Laauurraaa on 2024-12-02 at 18:24

@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

Written by Philipp :emacs: :nixos: on 2024-12-02 at 20:24

@Laauurraaa ahhh Lindenmayer systems. Cool stuff!

=> More informations about this toot | More toots from pmidden@fosstodon.org

Written by Laauurraaa on 2024-12-03 at 11:11

@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

Written by Philipp :emacs: :nixos: on 2024-12-03 at 11:11

@Laauurraaa Well, there's also bioinformatics?

=> More informations about this toot | More toots from pmidden@fosstodon.org

Written by systemd-jaded on 2024-12-03 at 00:25

@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

Written by Laauurraaa on 2024-12-03 at 00:42

@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

Written by Laauurraaa on 2024-12-03 at 00:43

@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

Written by systemd-jaded on 2024-12-04 at 01:50

@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

Written by Adriano on 2024-12-02 at 17:27

@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

Written by Laauurraaa on 2024-12-02 at 18:25

@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

Written by Laauurraaa on 2024-12-02 at 18:25

@adriano (although it happens to be a tool too!)

=> More informations about this toot | More toots from Laauurraaa@mas.to

Written by Adriano on 2024-12-02 at 18:28

@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

Written by mafe en españa on 2024-12-03 at 08:49

@Laauurraaa This is awesome! I still have struggles with flakes. 😭

=> More informations about this toot | More toots from mafe@layer8.space

Written by Areskill on 2024-12-03 at 09:41

@Laauurraaa you will greatly benefit from using nix-direnv! 😉

=> More informations about this toot | More toots from jean_dupont@mastodon.social

Written by mafe en españa on 2024-12-03 at 19:52

@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

Written by C.B.Leslie on 2024-12-02 at 17:47

@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

Written by Laauurraaa on 2024-12-02 at 18:23

@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

Written by C.B.Leslie on 2024-12-02 at 19:13

@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

Written by Ariel on 2024-12-03 at 08:29

@cbleslie @Laauurraaa that's cold, Leslie 🥶

=> More informations about this toot | More toots from arichtman@eigenmagic.net

Written by C.B.Leslie on 2024-12-03 at 10:43

@arichtman @Laauurraaa what's cooler than being cool?

=> More informations about this toot | More toots from cbleslie@hachyderm.io

Written by HoldMyType on 2024-12-11 at 15:04

@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

Written by mafe en españa on 2024-12-03 at 08:55

@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

Written by Areskill on 2024-12-03 at 09:35

@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!

=> View attached media

=> More informations about this toot | More toots from jean_dupont@mastodon.social

Written by Laauurraaa on 2024-12-03 at 11:08

@jean_dupont Whahaha that reminds me of the emacs learning curve.

=> View attached media

=> More informations about this toot | More toots from Laauurraaa@mas.to

Written by Areskill on 2024-12-03 at 12:09

@Laauurraaa 😂😂😂

=> More informations about this toot | More toots from jean_dupont@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113584148301182897
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
427.233971 milliseconds
Gemini-to-HTML Time
8.477468 milliseconds

This content has been proxied by September (ba2dc).