!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

896 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
15 Nov 2021
@nixinator:nixos.dev@nixinator:nixos.devyeah, but what if doesn't know it knows18:31:31
@nixinator:nixos.dev@nixinator:nixos.devbecause it a older version of git.18:31:44
@balsoft:balsoft.rubalsoftWe don't need to pass it anything18:35:28
@balsoft:balsoft.rubalsoftJust let it handle the default branch by itself.18:35:36
@balsoft:balsoft.rubalsoft If it knows how to handle non-master branches, let it. If it doesn't, then it would fail anyways. 18:35:51
16 Nov 2021
@anderscs:matrix.organderscsWho is working on the nix <-> IPFS integration? I think this would be really cool, but there seems to be several issues. For example the nix store isn't entirely content addressed atm, but it can be turned on. I think this is also an opportunity to optimize the nix store cachability and flexibility. 15:47:18
@0x4a6f:matrix.org[0x4A6F] Maybe someone in nix#859? 17:26:36
@0x4a6f:matrix.org[0x4A6F] * Maybe someone in nix#859? 17:27:25
@fzakaria:matrix.orgfzakaria (Old)Anyone here familiar with LeakSanitizer ? I am trying to run it on Nix and working through the errors. I would expect the fix for some is adding missing deletes but its still showing up for some extern global variables.18:30:01
@andi:kack.itandi-What parts of Nix? There are some expected leaks (within the parser mostly) and it perhaps will be confused by the GC to some degree.18:39:34
@andi:kack.itandi-I remember building the system daemon with memory sanitiser at some point and that made it terminate almost instantly after startup.18:40:09
@moritz.hedtke:matrix.orgMoritz Hedtke
In reply to @fzakaria:matrix.org
Anyone here familiar with LeakSanitizer ?
I am trying to run it on Nix and working through the errors.

I would expect the fix for some is adding missing deletes but its still showing up for some extern global variables.
See https://matrix.to/#/!VRULIdgoKmKPzJZzjj:nixos.org/$RczAfZSEWi7kX04NYHSdm2q3hzf1iS63CNEGSc6FEpc?via=nixos.org&via=matrix.org&via=nixos.dev the ast is intentinally leaked
19:32:37
@moritz.hedtke:matrix.orgMoritz HedtkeAround that is also some more probably useful information19:33:03
@mewp:nurupo.pl@mewp:nurupo.pl joined the room.20:27:37
@mewp:nurupo.pl@mewp:nurupo.plhello, is this the right place to ask how to contribute a particular thing to nix? (not nixos/nixpkgs)20:28:53
@tomberek:matrix.orgtomberek mewp: what are you thinking about? 20:54:13
@mewp:nurupo.pl@mewp:nurupo.pl well, I really wanted nix to have haskell's $ operator, so I added one. Now I want to know whether that makes sense to others, and how to go about finding that out 20:55:00
@mewp:nurupo.pl@mewp:nurupo.plI could just make a PR, I don't know whether it's the best place to start, though20:55:44
@tomberek:matrix.orgtomberekPR sounds okay... if it needs to be an RFC i guess people will let you know. Sounds interesting.20:56:53
@mewp:nurupo.pl@mewp:nurupo.plthis is a really simple patch, but it is a language change, so I expect it to be somewhat controversial20:57:38
@mewp:nurupo.pl@mewp:nurupo.pl(just because it does something to the language, even if it doesn't break compatibility etc.)20:57:59
@tomberek:matrix.orgtomberekThe rule has been not that current Nix expressions can be parsed by legacy versions of the Nix evaluator; just that the current evaluator can eval old expressions.20:59:18
@mewp:nurupo.pl@mewp:nurupo.plwell, okay then, I posted the PR, we'll see what happens next21:20:31
@toonn:matrix.orgtoonn $ is a little controversial even in Haskell circles. 21:31:40
@mewp:nurupo.pl@mewp:nurupo.plwhy is that?21:32:14
@sternenseemann:systemli.orgsterni (he/him) mewp: unlikely this would be added because it is a quite considerable backwards incompatibility 21:34:46
@mewp:nurupo.pl@mewp:nurupo.plhow so?21:34:57
@sternenseemann:systemli.orgsterni (he/him)or at least I see that problem21:34:59
@sternenseemann:systemli.orgsterni (he/him) well older nix versions wouldn't be able to evaluate any code using $ then 21:35:17
@sternenseemann:systemli.orgsterni (he/him) also there are other consumers of nix code like rnix-parser, hnix which also would need to be adjusted 21:35:44

Show newer messages


Back to Room ListRoom Version: 6