!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

908 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
20 Aug 2024
@joerg:thalheim.ioMic92I have a workaround14:47:11
@Ericson2314:matrix.orgJohn Ericson Mic92: "in Nixpkgs"? 15:01:33
@Ericson2314:matrix.orgJohn Ericsonwhat header is missing?15:01:37
@joerg:thalheim.ioMic92Yes15:01:42
@Ericson2314:matrix.orgJohn Ericson sounds like something that tomberek fixed recently 15:01:43
@joerg:thalheim.ioMic92here is the fix: https://github.com/NixOS/nixpkgs/pull/335342/commits/e046ff4a2b9272f6f9a886dca3c29c5e3a4a453215:01:54
@Ericson2314:matrix.orgJohn Ericsonah OK15:04:09
@Ericson2314:matrix.orgJohn Ericsonyeah that's fair15:04:16
@Ericson2314:matrix.orgJohn Ericson thanks Mic92 15:04:18
21 Aug 2024
@joerg:thalheim.ioMic92 John Ericson: tomberek Eelco I added you as code owner for nixpkgs: https://github.com/NixOS/nixpkgs/pull/336270 06:16:24
@shymega:one.ems.host@shymega:one.ems.host joined the room.16:36:55
22 Aug 2024
@iensu:matrix.org@iensu:matrix.org left the room.06:40:51
@shoglofi:matrix.orgshogo changed their profile picture.07:15:32
@asmundesen:matrix.orgArtur Manuel joined the room.12:57:31
@matrix:03j.de@matrix:03j.de joined the room.14:21:35
@asmundesen:matrix.orgArtur Manuel changed their profile picture.14:53:04
@niko:puppygock.gaynyanbinary 🏳️‍⚧️ left the room.17:20:30
23 Aug 2024
@nuc1eon:matrix.org@nuc1eon:matrix.org left the room.00:50:33
@joerg:thalheim.ioMic92 Robert Hensing (roberth): Do you have access to macOS or do you need something like a flamegraph for nix 2.18 vs 2.24? 09:41:23
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) Can someone remind me — the Nix option to print the number of function calls is only for nix-language functions? Or would I be able to see the number of times functions like https://github.com/NixOS/nix/blob/0bcc83d0e749dacaba3acc74f54bcd693fdb6068/src/libexpr/attr-set.hh#L114 were invoked?
If not, what’s the best practice for profiling a specific function in the Nix implementation?
16:40:47
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @joerg:thalheim.io
Robert Hensing (roberth): Do you have access to macOS or do you need something like a flamegraph for nix 2.18 vs 2.24?
not a true x86_64 one
17:28:10
@roberthensing:matrix.orgRobert Hensing (roberth)I'm fairly confident that 2.18 is faster because we added a cache we're not taking much (or any?) advantage of yet. The reason is we're moving to a setup that will be faster than 2.18 but that's taking longer than expected to get there. I think we should look into disabling that for now, but I haven't found the time to confirm this yet, so caveat.17:34:13
@joerg:thalheim.ioMic92 @roberthensing:matrix.org: i could try to get you ssh access to one in 1-2 weeks. What also works very well is this: https://github.com/Mic92/dotfiles/blob/main/.github/workflows/os-ondemand.yaml 18:12:06
@joerg:thalheim.ioMic92It's also a nice devenv for windows 18:12:28
@joerg:thalheim.ioMic92GitHub still does x86 for Mac. So that's probably the easiest option 18:13:11
@joerg:thalheim.ioMic92If you can point me to the cache I.e the commit, I can check if disabling it performs better18:14:53
@emilazy:matrix.orgemilyI think that GitHub Actions thing is against the Actions terms of service FWIW (your judgement call to make: just making it known)18:21:43
@jade_:matrix.orgjade_i would personally recommend a certain "osx-kvm" which is at least only a license violation of macOS purely on your own computer18:23:31
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @joerg:thalheim.io
If you can point me to the cache I.e the commit, I can check if disabling it performs better

Not sure if useful but it'd be

  • originally https://github.com/NixOS/nix/pull/9485
  • however, performance was improved in a later PR
  • and as you know may be improved again by https://github.com/NixOS/nix/pull/11330

So I don't know how representative the delta of that PR would be anymore

18:24:22
@emilazy:matrix.orgemilywell, also probably a more serious copyright violation to obtain the things you need to use it unless you already own a Mac…18:24:50

Show newer messages


Back to Room ListRoom Version: 6