!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

996 Members
For people hacking on the Nix package manager itself210 Servers

Load older messages


SenderMessageTime
20 Jun 2026
@nsmikhailov:matrix.orgNikita Mikhailov joined the room.12:15:06
21 Jun 2026
@llakala:matrix.orgllakalahttps://github.com/NixOS/nix/blob/f8bb823a23bf6d62f4c8feb792a77702d7a49fe1/src/libexpr/primops.cc#L327612:59:08
@llakala:matrix.orgllakalamight it be more performant to loop twice through the attrs - once calculating the number of attrs that actually exist, and the second time actually copying their values?12:59:45
@llakala:matrix.orgllakala i say this because this removeAttrs has consistently shown up in my nixpkgs profiling 13:02:25
@llakala:matrix.orgllakala

there's a lot of names to remove

  removedOrReplacedAttrNames = [
    "checkInputs"
    "installCheckInputs"
    "nativeCheckInputs"
    "nativeInstallCheckInputs"
    "__contentAddressed"
    "__darwinAllowLocalNetworking"
    "__impureHostDeps"
    "__propagatedImpureHostDeps"
    "sandboxProfile"
    "propagatedSandboxProfile"
    "disallowedReferences"
    "disallowedRequisites"
    "allowedReferences"
    "allowedRequisites"
    "allowedImpureDLLs"
  ];
13:02:50
@llakala:matrix.orgllakala *

there's a lot of names to remove on every mkDerivation

  removedOrReplacedAttrNames = [
    "checkInputs"
    "installCheckInputs"
    "nativeCheckInputs"
    "nativeInstallCheckInputs"
    "__contentAddressed"
    "__darwinAllowLocalNetworking"
    "__impureHostDeps"
    "__propagatedImpureHostDeps"
    "sandboxProfile"
    "propagatedSandboxProfile"
    "disallowedReferences"
    "disallowedRequisites"
    "allowedReferences"
    "allowedRequisites"
    "allowedImpureDLLs"
  ];
13:02:57
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)We can do a better filterAttrs, but I don’t think those showed any improvements14:21:00
22 Jun 2026
@fsnkty:nixos.devfsnkty joined the room.09:25:06
@fsnkty:nixos.devfsnkty set a profile picture.09:26:03
19 May 2021
@eelco:nixos.orgEelco 😴 changed the history visibility to "world_readable" from "shared".15:40:14
@eelco:nixos.orgEelco 😴 changed the room name to "Nix Hackers" from "Nix Development".15:45:04
@eelco:nixos.orgEelco 😴 changed the room topic to "For people hacking on the Nix package manager itself" from "Development of the Nix package manager".15:45:04
@casey:hubns.netcransom joined the room.15:45:08
@sumner:sumnerevans.comsumner joined the room.15:45:19
@danielle:fairydust.spacedanielle joined the room.15:47:55
@aaron:fosslib.netaaron joined the room.15:54:00
@casey:hubns.netcransom changed their display name from casey Β© to cransom.15:56:27
@eelco:nixos.orgEelco 😴 invited @grahamc:nixos.orggrahamc.16:02:36
@grahamc:nixos.orggrahamc joined the room.16:02:51
@stick:matrix.orgstick joined the room.16:03:18
@immae:matrix.orgimmae joined the room.16:03:29
@stick:matrix.orgstick changed their display name from stick to prusnak.16:03:56
@stick:matrix.orgstick changed their display name from prusnak to stick.16:04:03
@stick:matrix.orgstick changed their profile picture.16:04:57
@stick:matrix.orgstick changed their display name from stick to prusnak.16:05:00
@eelco:nixos.orgEelco 😴changed room power levels.16:08:46
@jtojnar:matrix.orgJan Tojnar joined the room.16:09:00
@qyliss:fairydust.spaceAlyssa Ross joined the room.16:15:10
@niksnut:matrix.orgniksnut joined the room.16:19:51
@grahamc:nixos.orggrahamc 16:42:12

Show newer messages


Back to Room ListRoom Version: 6