| 8 Aug 2022 |
@blaggacao:matrix.org | * To put it with a chemistry analogy to assent the argument: we need to iprove the bond-energy of otherwise linux-philosophy tool-atoms.
On the command line, the bond is very clear, usually it's `|`.
But that simplicity doesn't apply for a `nix` fabric. | 17:15:56 |
@blaggacao:matrix.org | * To put it with a chemistry analogy to assent the argument: we need to improve the bond-energy of otherwise linux-philosophy tool-atoms.
On the command line, the bond is very clear, usually it's `|`.
But that simplicity doesn't apply for a `nix` fabric. | 17:16:16 |
@blaggacao:matrix.org | * To put it with a chemistry analogy to assent the argument: we need to improve the bond-energy of otherwise linux-philosophy tool-atoms.
On the command line, the bond is very clear, usually it's `|`.
But that simplicity doesn't apply for a repository-spanning (i.e. world-spanning) `nix` fabric. | 17:16:52 |
| 10 Aug 2022 |
| luxus joined the room. | 09:54:50 |
dantefromhell | In reply to @blaggacao:matrix.org
To put it with a chemistry analogy to assent the argument: we need to improve the bond-energy of otherwise linux-philosophy tool-atoms.
On the command line, the bond is very clear, usually it's |.
But that simplicity doesn't apply for a repository-spanning (i.e. world-spanning) nix fabric. very true, as someone who has 20+ years of itops this still feels mostly unresolved and often unthought of.
I'm curious if you can provide more details to the solution you found? | 21:14:41 |
@blaggacao:matrix.org | Well, colmena uses an evaluator (instead of for example the nix bundle interface) in order to parallelize the evaluation. So at its heart, it's a speed consideración.
The receptor interface is established in src/nix/eval.nix and that defines the incoming schema as well as the intermediate schema that can be processed by the CLI.
There are two solutions:
- don't use an evaluator, but rather consume a well-knowm flake attribute (which is already evaluated - this is the
divnix/std approach with __std)
- make the evaluator swappable
colmena --eval ./path/to/eval.nix so that you can consume arbitrary inout contracts via a custom evaluator.
Since colmena strives for optimization and parallelization, the second option is really the beat choixe.
For something like divnix/styx, I don't know yet, I'll probably just going to wrap the nix bundle interface within the CLI. It's probably not parallelized, but it is easly swappable for a custom evaluator. WIP, so I might get more insight as I go. | 21:21:43 |
@blaggacao:matrix.org | From the bundler docs:
A bundler must be a function that accepts an arbitrary value (typically a derivation or app definition) and returns a derivation.
| 23:50:31 |
| 11 Aug 2022 |
@janejasperous:one.ems.host | man nix3-bundle | 08:24:47 |
@janejasperous:one.ems.host | * man nix3-bundle
and
https://github.com/NixOS/bundlers
| 08:25:57 |
@janejasperous:one.ems.host | * man nix3-bundle
and
https://github.com/NixOS/bundlers
I had missed this
| 08:31:04 |
| 13 Aug 2022 |
| @ronnypfannschmidt:matrix.org joined the room. | 12:01:57 |
| farcaller joined the room. | 14:26:22 |