| 14 Dec 2025 |
| suua joined the room. | 05:34:20 |
Jules Lamur | Hi, are you aware of any plans about having input pinning commands (like eg. npins, but built in) in nixcpp / lix? That would be handy for people that do not want to use flakes or npins / niv. I feel that it would make sense to have a UX to do that natively, but you all might have better plans :) | 15:42:03 |
helle (just a stray cat girl) | there are no plans to do this as things like npins can provide this functionality perfectly well externally | 15:43:09 |
helle (just a stray cat girl) | we want to have less in the core, not more | 15:43:18 |
helle (just a stray cat girl) | I mean you can make a lix-pin command in your PATH and with custom-sub-commands you can then run lix pin and it will run your command, which is cutesy I guess | 15:45:25 |
helle (just a stray cat girl) | flakes are being moved to a plugin, Soon™ | 15:46:21 |
Rutile (Commentator2.0) feel free to ping | npins as a lix plugins? :D | 15:47:06 |
helle (just a stray cat girl) | I mean you can just have it as a lix subcommand already :3 | 15:47:24 |
helle (just a stray cat girl) | I need to work on my patches to npins still, but got uh, sick and then distracted | 15:47:45 |
Rutile (Commentator2.0) feel free to ping | uhhh right, i need to fix my npins pr too 🥴 | 15:48:20 |
Jules Lamur | This position makes sense. I was fine with npins until I realized it does not check hashes of git inputs (cf. https://github.com/andir/npins/blob/0.3.1/src/default.nix#L113) and that no release has been made since it was fixed. The maintainer has not responsed to calls for a new release (cf. https://github.com/andir/npins/issues/178) (I'm not blaming him to be clear, but that would have been easier if such a command was part of a bigger project, and considering how many people rely on npins or equivalent software I thought that could be considered). | 15:52:27 |
helle (just a stray cat girl) | so given that piegames probably has feelings on this and I suspect npins will get a release soonish, it is actively worked on | 15:53:42 |
helle (just a stray cat girl) | and no, in a larger project, it just gets messy with how it needs to be integrated in the code base, maintained as a monolithic part, etc | 15:54:08 |
helle (just a stray cat girl) | this is partially why Flakes are such a nightmare | 15:54:21 |
helle (just a stray cat girl) | the other part, Flakes never were well defined | 15:54:32 |
helle (just a stray cat girl) | also behaviour of Flakes is now everywhere in Lix (inherited from CppNix), libfetchers is painful to work on due to this for example and completely mismatched with it's own documentation | 15:55:57 |
helle (just a stray cat girl) | npins would add yet another code path to such a thing | 15:56:09 |
piegames | npins needs another maintainer really | 15:56:30 |
Rutile (Commentator2.0) feel free to ping | okay, now i am being blamed for the release not being done bc i haven't finished up my pr xD | 15:56:31 |
helle (just a stray cat girl) | lol | 15:56:44 |
Rutile (Commentator2.0) feel free to ping | gimme another day or two and see how much time i have during work | 15:57:11 |
helle (just a stray cat girl) | but erm, yeah, overlap of npins and Lix, rather high | 15:57:27 |
helle (just a stray cat girl) | my npins PR is going to wait another cycle, I may need to kick a lot of code around, for some very specific use cases | 16:00:07 |
piegames | May I present | 16:57:30 |
piegames | » nix-instantiate --parse -E 'with {}; 1.a'
{
…
"body": {
"_type": "ExprCall",
"args": [
{
"_type": "ExprVar",
"value": "a"
}
],
"fun": {
"_type": "ExprLiteral",
"value": 1.0,
"valueType": "Float"
}
}
}
» nix-instantiate --parse -E 'with {}; 0.a'
{
…
"body": {
"_type": "ExprSelect",
"attrs": [
"a"
],
"e": {
"_type": "ExprLiteral",
"value": 0,
"valueType": "Int"
}
}
}
| 16:57:34 |
piegames | » nix-instantiate --parse -E '0.'
error: syntax error, expecting end of file
at «string»:1:2:
1| 0.
| ^
» nix-instantiate --parse -E '1.'
{
"_type": "ExprLiteral",
"value": 1.0,
"valueType": "Float"
}
| 16:58:16 |
piegames | If I die before finishing fixing this stupid language, my ghost will haunt Eelco personally forever until he repents for his sins | 16:59:06 |
piegames | deprecation noises | 16:59:59 |
K900 | This is beautiful | 17:00:00 |
helle (just a stray cat girl) | Eelco shakes very painful fist | 17:01:15 |