!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

851 Members
For people hacking on the Nix package manager itself184 Servers

Load older messages


SenderMessageTime
4 Jun 2025
@yadov3k:matrix.orgyadov3kRedacted or Malformed Event16:19:32
@yadov3k:matrix.orgyadov3kRedacted or Malformed Event16:20:11
@yadov3k:matrix.orgyadov3k hmm, screenshot upload is not possible apparently,

ls /tmp
...
4 drwxr-xr-x 11 root     root   4096 Jun  3 06:52 nix-13888-0
4 drwx------  3 nixbld16 nixbld 4096 Jun  3 11:42 nix-build-purs-0.15.15.drv-0
4 drwx------  5 nixbld1  nixbld 4096 Jun  3 11:35 nix-build-website.drv-0
4 drwxr-xr-x  2 root     root   4096 Jun  3 10:54 nix-develop-24156-1
4 -rw-------  1 root     root    338 Jun  3 09:35 nix-git-submodules.A53KSf
16:20:53
@k900:0upti.meK900Which Docker image is that?16:23:07
@0x4a6f:nixos.dev0x4A6F joined the room.16:57:16
5 Jun 2025
@yadov3k:matrix.orgyadov3k https://github.com/NixOS/nix/blob/master/docker.nix#L152
https://hub.docker.com/r/nixos/nix
07:34:14
6 Jun 2025
@h0nig2k:matrix.orgh0nig2k joined the room.08:35:57
@joei:envs.net@joei:envs.net left the room.15:50:00
@jakobkukla:matrix.orgjakobkukla joined the room.22:32:31
7 Jun 2025
@deeok:matrix.orgmatrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms) left the room.22:13:53
@deeok:matrix.orgmatrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms) joined the room.23:45:28
8 Jun 2025
@pveierland:matrix.orgpveierland joined the room.00:19:02
@pveierland:matrix.orgpveierlandHow can the nix eval cache database store attribute names in a text database column (unicode) if attribute names are nix strings that do not have character encoding?00:19:18
@emilazy:matrix.orgemilyhave you tried to break it?00:29:00
@emilazy:matrix.orgemilyI wouldn't be surprised if it just breaks00:29:03
@emilazy:matrix.orgemilyIIRC passing non-ASCII attribute names via the CLI might not work though00:29:09
@pveierland:matrix.orgpveierlandNo, just trying to confirm my understanding of the data model00:30:14
@emilazy:matrix.orgemilyI suspect the answer is that it wasn't really thought about :)00:35:01
@emilazy:matrix.orgemilyNix string handling is sort of weird00:35:13
@pveierland:matrix.orgpveierlandCool, will try my best to accommodate byte strings then :)00:36:44
@zitrone:utwente.iozitrone joined the room.01:02:47
@pveierland:matrix.orgpveierland(Details in this crate were quite helpful to understand path encoding handling: https://docs.rs/gix-path/latest/gix_path/)02:00:45
@emilazy:matrix.orgemilyI wouldn't recommend supporting non-UTF-8 attrpaths in tooling.12:57:08
@emilazy:matrix.orgemilyyou run into the "Makefile problem" (https://wiki.mercurial-scm.org/EncodingStrategy#The_.22makefile_problem.22) quickly – text has to be able to refer to paths12:57:37
@emilazy:matrix.orgemilysee https://docs.rs/camino/latest/camino/ for a perspective on this as applied to file paths12:58:00
@emilazy:matrix.orgemily anyway, nix eval nixpkgs#é and nix eval nixpkgs#'"é"' both behave bizarrely (they interpret nixpkgs as a path for some reason), so I suspect ASCII is the only reliable thing 12:59:00
@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

Show newer messages


Back to Room ListRoom Version: 6