Stream: nix

Topic: nosys `pkgs` handling


view this post on Zulip Tim DeHerrera (Feb 24 2024 at 09:39):

Good idea?
https://github.com/divnix/nosys/pull/16

view this post on Zulip Srid (Feb 24 2024 at 11:08):

Context? What's 'nosys'?

view this post on Zulip Srid (Feb 24 2024 at 11:09):

Okay, a way to deal with systems. Unsure what the benefit is compared to say flake-parts perSystem.

view this post on Zulip Tim DeHerrera (Feb 24 2024 at 18:58):

For a while now, (mosly since working on and using std), I'm not a big fan of the module system. It's complexity get's conflating with Nix as a whole. I think using it to build flakes just gives you another onramp to infinite recursion, slow evaluation and difficult error messages that I'd rather not deal with when declaring a simple interface of inputs and outputs :sweat_smile:

view this post on Zulip Tim DeHerrera (Feb 24 2024 at 19:01):

originally, nosys was just a way to start modularizing parts of std that could be factored out. There was a desystemetize function that I broke off here and used to essentially demonstrate the old "system as an input" idea for flakes. Showing what the flake API could be like if you didn't have to worry about system.

It also doesn't do anything else, purposefully, and is as minimal and fast as possible with simple conveniences.


Last updated: Nov 15 2024 at 12:33 UTC