| 14 Dec 2025 |
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 |
kloenk | psychic damage noises | 17:01:29 |
0x4fbb09 it/its ⛯✇ΘΔ | ... what's with this
# nix-instantiate --parse -E "01.4"
{
"_type": "ExprCall",
"args": [
{
"_type": "ExprLiteral",
"value": 0.4,
"valueType": "Float"
}
],
"fun": {
"_type": "ExprLiteral",
"value": 1,
"valueType": "Int"
}
}
... why is that not just a float literal with value 1.4
| 19:09:30 |
piegames | Quick poll: should function application without spaces be allowed? foo"1"2 | 19:09:36 |
piegames | In reply to @522_:catgirl.cloud
... what's with this
# nix-instantiate --parse -E "01.4"
{
"_type": "ExprCall",
"args": [
{
"_type": "ExprLiteral",
"value": 0.4,
"valueType": "Float"
}
],
"fun": {
"_type": "ExprLiteral",
"value": 1,
"valueType": "Int"
}
}
... why is that not just a float literal with value 1.4
Because it parses as fucking 01 .4 | 19:10:03 |
0x4fbb09 it/its ⛯✇ΘΔ | lol | 19:10:18 |