!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

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

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


SenderMessageTime
6 Oct 2025
@fzakaria:one.ems.hostfzakariastill skips stuff22:44:01
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) ma27: thanks for the gdb fix btw. Very much appreciated to be able to use boost's pretty-printers out of the box. I hate how many hoops one has to jump through to get rid of -Wa,--compress-debug-sections though 23:21:53
7 Oct 2025
@lovesegfault:matrix.orglovesegfaultcould one reasonably write a nix evaluator without a GC and use refcounting, or would there be too many leaks due to cycles?04:07:54
@k900:0upti.meK900Definitely too many cycles without any form of GC04:16:48
@k900:0upti.meK900But you can probably get something out of refcounting compared to baseline04:17:27
@lovesegfault:matrix.orglovesegfaultthat's a shame, i was thinking that conceptually it'd be nice to write an evaluator around rust futures 04:17:31
@lovesegfault:matrix.orglovesegfaultbut no gc there04:17:55
@k900:0upti.meK900 That would be insanely inefficient tbh 04:18:57
@k900:0upti.meK900 Well, I guess it depends on how big your future state machine gets 04:19:24
@k900:0upti.meK900 But I'd expect it to get pretty big 04:19:30
@lovesegfault:matrix.orglovesegfaultyeah idk how it play out, just seemed like something fun to try 04:20:24
@lovesegfault:matrix.orglovesegfaultmaybe if i used something like https://crates.io/crates/sdd04:24:06
@lovesegfault:matrix.orglovesegfault oh, hadn't seen this one before nix: ../canon-path.cc:82: void nix::CanonPath::push(std::string_view): Assertion c != "." && c != ".."' failed.` 04:27:49
@lovesegfault:matrix.orglovesegfault cc. Sergei Zimmerman (xokdvium) 04:27:53
@lovesegfault:matrix.orglovesegfault * oh, hadn't seen this one before nix: ../canon-path.cc:82: void nix::CanonPath::push(std::string_view): Assertion \c != "." && c != ".."' failed.` 04:51:16
@lovesegfault:matrix.orglovesegfault * oh, hadn't seen this one before nix: ../canon-path.cc:82: void nix::CanonPath::push(std::string_view): Assertion `c != "." && c != ".."' failed. 04:51:49
@lovesegfault:matrix.orglovesegfaulti think this fixes it: https://github.com/NixOS/nix/pull/1417105:00:22
@dramforever:matrix.orgdramforever

anyone happen to know what this is fixed in? seems fixed on master, broken on 2.31-maintanance, but idk what this is

nix-repl> builtins.getFlake "github:NixOS/nixpkgs?narHash="
nix: ../flake.cc:37: nix::StorePath nix::flake::copyInputToStore(nix::EvalState&, nix::fetchers::Input&, const nix::fetchers::Input&, nix::ref<nix::SourceAccessor>): Assertion `!originalInput.getNarHash() || storePath == originalInput.computeStorePath(*state.store)' failed.
05:52:47
@dramforever:matrix.orgdramforever *

anyone happen to know what commit this is fixed in? seems fixed on master, broken on 2.31-maintanance, but idk what this is

nix-repl> builtins.getFlake "github:NixOS/nixpkgs?narHash="
nix: ../flake.cc:37: nix::StorePath nix::flake::copyInputToStore(nix::EvalState&, nix::fetchers::Input&, const nix::fetchers::Input&, nix::ref<nix::SourceAccessor>): Assertion `!originalInput.getNarHash() || storePath == originalInput.computeStorePath(*state.store)' failed.
05:53:00
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @k900:0upti.me
That would be insanely inefficient tbh
Well, snix only uses Rc for Values iirc
10:56:26
@k900:0upti.meK900 Yeah and it needs like 200GB of memory to evaluate nixpkgs 10:58:56
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Honestly if one is careful about the memory layout we could get parity with the current memory usage even without GC11:05:25
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @dramforever:matrix.org

anyone happen to know what commit this is fixed in? seems fixed on master, broken on 2.31-maintanance, but idk what this is

nix-repl> builtins.getFlake "github:NixOS/nixpkgs?narHash="
nix: ../flake.cc:37: nix::StorePath nix::flake::copyInputToStore(nix::EvalState&, nix::fetchers::Input&, const nix::fetchers::Input&, nix::ref<nix::SourceAccessor>): Assertion `!originalInput.getNarHash() || storePath == originalInput.computeStorePath(*state.store)' failed.
I think it’s #14050
11:06:38
@lovesegfault:matrix.orglovesegfaultso, last night i was playing with hooking up honggfuzz to libexpr14:39:31
@lovesegfault:matrix.orglovesegfaultand i think i got it working, and then went to sleep14:39:48

Show newer messages


Back to Room ListRoom Version: 6