!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

905 Members
For people hacking on the Nix package manager itself190 Servers

Load older messages


SenderMessageTime
9 Mar 2025
@hurdpublic:pub.solar@hurdpublic:pub.solar changed their profile picture.14:11:16
@hurdpublic:pub.solar@hurdpublic:pub.solar changed their profile picture.14:28:51
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)

tomberek: I was working on a PR to use immutable lists (https://github.com/NixOS/nix/pull/11767) and was working on shrinking the size of the Value structure (https://github.com/ConnorBaker/nix/commits/feat/tagged-values/). Both of them are what made me want to give my talk.

I don’t have a PR for the primitives — I think the first step would be to survey the ways we most commonly interact (or want to interact) with the data structures. Then, choosing primitives that enable those interactions and compose well. Then, choosing implementations for the data structures that make those primitives fast.

19:58:46
10 Mar 2025
@jacek:poz.petdeprecated, moved to @poz:poz.pet changed their display name from jacek to deprecated, moved to @poz:poz.pet.00:30:33
@sinan:sinanmohd.comsinan changed their profile picture.02:45:54
@marie:marie.cologne@marie:marie.cologne joined the room.11:35:30
11 Mar 2025
@fzakaria:one.ems.hostfzakariaRedacted or Malformed Event01:53:56
@fzakaria:one.ems.hostfzakariaRedacted or Malformed Event01:56:21
@sinan:sinanmohd.comsinan changed their profile picture.18:25:29
@sinan:sinanmohd.comsinan changed their profile picture.18:46:53
12 Mar 2025
@fzakaria:one.ems.hostfzakaria If i use a separate store; how can i make it easily so my nix commands use it without doing --store 01:57:34
@puffnfresh:chat.home.brianmckenna.orgpuffnfresh
In reply to @fzakaria:one.ems.host
If i use a separate store; how can i make it easily so my nix commands use it without doing --store
can be set at compile time, or in nix.conf
02:15:21
@fzakaria:one.ems.hostfzakariai was thining like a bind mount or somethig with nix-shell02:15:40
@fzakaria:one.ems.hostfzakariaso it's temporary02:15:43
@fzakaria:one.ems.hostfzakariabind mounts doesn't work actually because i lose out on all my current tools in the current process02:24:13
@fzakaria:one.ems.hostfzakariain NixOS02:24:15
@fzakaria:one.ems.hostfzakaria

Okay this works though

nix run nixpkgs#fish --store /tmp/dyn-drvs

02:25:22
@fzakaria:one.ems.hostfzakaria (not sure why unshare -> mount --bind doesn't though ) 02:25:31
@puffnfresh:chat.home.brianmckenna.orgpuffnfreshdidn't you say that you wanted to do it without using --store?03:44:11
@fzakaria:one.ems.hostfzakariai meant subsequent commands04:09:50
@fzakaria:one.ems.hostfzakariadon't need the --store after that 04:09:56
@Ericson2314:matrix.orgJohn Ericson @roberthensing:matrix.org: FYI I noticed Linus Heckmann did some interesting recent commits to lix for GC fixes 22:56:05
13 Mar 2025
@Las:matrix.orgLas
In reply to @fzakaria:one.ems.host
If i use a separate store; how can i make it easily so my nix commands use it without doing --store
NIX_CONFIG
01:01:34
@0rzklv:matrix.org@0rzklv:matrix.org joined the room.07:46:39
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Fixing very significant debugger performance regression introduced in 2.21: https://github.com/NixOS/nix/pull/1264513:42:40
@roberthensing:matrix.orgRobert Hensing (roberth) What do we think of suffixing fields with _ to make them visually distinct from locals/params? I'm open to it (implicit this-> may have been a mistake, hurting understanding and refactoring) but esp John Ericson tomberek Eelco Mic92 will also have to look at such code 14:59:57
@joerg:thalheim.ioMic92 Robert Hensing (roberth): my lsp does it locally for my editor, but we don't have in github, so might be worth it. There is clang-tidy also can do this automatically: https://clang.llvm.org/extra/clang-tidy/checks/readability/identifier-naming.html#cmdoption-arg-ClassMemberPrefix 15:05:03
@joerg:thalheim.ioMic92 * Robert Hensing (roberth): my lsp does it locally for my editor with colors, but we don't have in github, so might be worth it. There is clang-tidy also can do this automatically: https://clang.llvm.org/extra/clang-tidy/checks/readability/identifier-naming.html#cmdoption-arg-ClassMemberPrefix 15:06:44
@roberthensing:matrix.orgRobert Hensing (roberth)Also suffix, nice! @Mic92 on GitHub we don't have that highlighting, for doing reviews15:19:39
@niksnut:matrix.orgniksnutI wouldn't love it, seems a bit ugly. Yeah seems better if the lsp can figure it out.15:30:18

Show newer messages


Back to Room ListRoom Version: 6