!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

944 Members
For people hacking on the Nix package manager itself197 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Mar 2025
@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.orgroberth 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.orgroberthAlso 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
@Ericson2314:matrix.orgJohn Ericson
In reply to @roberthensing:matrix.org
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
We do use a _ suffix for other things right now FYI
15:40:41

Show newer messages


Back to Room ListRoom Version: 6