!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

884 Members
For people hacking on the Nix package manager itself187 Servers

Load older messages


SenderMessageTime
5 Oct 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Considering just how hard it's to reproduce (1/50 runs if lucky) I've opened reverts for the prime suspects https://github.com/NixOS/nix/pull/14159. John Ericson 19:24:35
6 Oct 2025
@joerg:thalheim.ioMic92I was wondering what we should fuzz with nix, but now I think fuzzing nixpkgs evaluations would be a good start. 09:12:38
@joerg:thalheim.ioMic92Do we eval nixpkgs/flake-regressions with ASAN enabled? 09:14:24
@monadicflow:matrix.orgAkshay Sachdeva joined the room.13:45:39
@fzakaria:one.ems.hostfzakariafuzz with AFLP?16:46:18
@fzakaria:one.ems.hostfzakariacan you compile Nix using the AFLP gcc ?16:46:38
@fzakaria:one.ems.hostfzakariaI mean AFL*16:47:16
@fzakaria:one.ems.hostfzakaria I think im running AFL on nix eval 17:24:45
@lovesegfault:matrix.orglovesegfault changed their profile picture.17:33:01
@lovesegfault:matrix.orglovesegfault changed their profile picture.17:33:46
@fzakaria:one.ems.hostfzakariahow do you build it with ASAN too?18:04:35
@fzakaria:one.ems.hostfzakariaoh i see it in doc18:05:55
@fzakaria:one.ems.hostfzakariai was trying to build just 'debug' but i was hitting those FORTIFY_SOURCE warnings and build failures22:40:41
@fzakaria:one.ems.hostfzakariawould be nice to document how to get past that.22:40:48
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) NIX_HARDENING_ENABLE=$(printLines $NIX_HARDENING_ENABLE | grep -v fortify) (ref eelco) 22:42:38
@fzakaria:one.ems.hostfzakariaokay let me try that because debugoptimized22:43:59
@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

Show newer messages


Back to Room ListRoom Version: 6