!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

823 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.178 Servers

Load older messages


SenderMessageTime
8 Jun 2025
@pveierland:matrix.orgpveierlandI agree, it would be way easier to just do a possibly lossy conversion of all attrpaths and paths to UTF8, and it would probably result in fewer bugs overall + less code and specialized parsers etc13:50:15
@pveierland:matrix.orgpveierlandJust trying to avoid losing any necessary representational ability13:51:09
@pveierland:matrix.orgpveierlandThen again, if a tool like git was rebuilt today maybe it would just insist UTF8 everywhere13:51:36
@pveierland:matrix.orgpveierlandI guess the issue for tools such as nix and git is that they need to work with such a broad set of environments so it might not be possible to make that assumption yet13:53:54
@pveierland:matrix.orgpveierlandRedacted or Malformed Event13:54:30
@emilazy:matrix.orgemilyNix not doing Unicode properly is just historical reasons I think.15:04:07
@emilazy:matrix.orgemilyit's not like it makes it handle e.g. UTF-16 better, because it can't do NUL bytes either.15:04:20
@dramforever:matrix.orgdramforeverwell, those should be url encoded, right?16:32:45
@dramforever:matrix.orgdramforeveri guess it also breaks with non-ascii separately some other way16:33:47
@Las:matrix.orgLas John Ericsonwhat should I do to get 12668 merged, or has the equivalent work already been done? Haven’t been following development for a bit 17:02:14
@Ericson2314:matrix.orgJohn Ericsonequivalent work has not been merged17:06:38
@Ericson2314:matrix.orgJohn Ericsonyou can try doing a rebase17:06:46
@Ericson2314:matrix.orgJohn Ericsonand also let me try to find again the rebase I had done before17:06:59
@Ericson2314:matrix.orgJohn Ericson Las: yeah l-as-goal-direct-io in my repo is a rebase that doesn't quite work of the first commit 17:11:43
9 Jun 2025
@trofi:matrix.org@trofi:matrix.org left the room.05:27:17
@dramforever:matrix.orgdramforeveri can't reproduce this on 2.28.305:38:22
@dramforever:matrix.orgdramforever
$ nix eval '.#è'
4
$ nix eval '.#测试'
3
$ cat flake.nix  
{
  outputs = { self }: {
    "测试" = 3;
    "è" = 4;
  };
}
05:39:26
@dramforever:matrix.orgdramforeveroh wait does it have to be registry?05:39:30
@dramforever:matrix.orgdramforeveroh yeah that's odd.05:40:03
@dramforever:matrix.orgdramforever* oh yeah that's odd...05:40:06
@dramforever:matrix.orgdramforeverso the problem seems to be confined to parsing? i suspect the fix will be easy05:41:25
@dramforever:matrix.orgdramforever* so the problem seems to be confined to parsing flake urls? i suspect the fix will be easy05:41:33
@dramforever:matrix.orgdramforever

oh yeah this is so funny

$ nix registry add test path:$(pwd)
$ nix eval 'test#%C3%A8'           
4
$ nix eval 'test#%E6%B5%8B%E8%AF%95'
3
05:48:51
@dramforever:matrix.orgdramforeveryeah it's broken05:51:44
@dramforever:matrix.orgdramforever you can't nix profile install it 05:51:54
@dramforever:matrix.orgdramforever * you can't nix profile install it, for example 05:52:06
@dramforever:matrix.orgdramforeverbut i still think it's not fundamentally unfixable05:52:15
@dramforever:matrix.orgdramforever

unrelatedly
John Ericson i just noticed this meeting minutes https://discourse.nixos.org/t/2025-05-28-nix-team-meeting-minutes-229/65205 especially about #13042, and ... it doesn't really make sense to me.

Appears to be a problem with running 32-bit x86 on x86_64-linux. This should work, but is possibly host-dependent and seccomp may interfere.

No, it's trying to run 64-bit programs in a 32-bit derivation, which fails as expected. It should not work and the build is wrong.

The basic issue is that the code was written assuming cross

Incomplete sentence? If "assuming cross builds don't run tests" was meant then yes that's correct

(Temporarily dropping this here because I'm not sure where I should be putting it.)

06:46:19
10 Jun 2025
@dmgr:matrix.orgDanny joined the room.18:10:07
11 Jun 2025
@Las:matrix.orgLas Maybe I'm dumb, but I did git clone ... ; nix develop .#native-clangStdenv ; meson build and it fails now? 13:54:32

Show newer messages


Back to Room ListRoom Version: 6