!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

182 Members
57 Servers

Load older messages


SenderMessageTime
27 Jun 2025
@emilazy:matrix.orgemily e.g., builtin fetchers go into temp-dir 10:33:56
@emilazy:matrix.orgemilybecause they aren't builds10:33:59
@emilazy:matrix.orgemily you need case-sensitivity for those too, so you need temp-dir = /nix/tmp and to ensure that /nix/tmp exists with usual tempdir permissions 10:34:15
@emilazy:matrix.orgemily for nix(1) to use 10:34:19
@emilazy:matrix.orgemily (this is a Lix thing, I'm not sure Nix has temp-dir) 10:34:47
@emilazy:matrix.orgemily (I think they might have backported it but not sure. but it's why build-dir by itself is not sufficient) 10:35:00
@reckenrode:matrix.orgRandy EckenrodeDoes anything in nixpkgs use builtin fetchers?10:35:19
@emilazy:matrix.orgemily
  nix.settings = {
    use-case-hack = false;
    temp-dir = "/nix/tmp";
  };

  system.activationScripts.preActivation.text = ''
    mkdir -p /nix/tmp
    chmod 1777 /nix/tmp
  '';
10:35:25
@emilazy:matrix.orgemilyflakes use them, for instance10:35:30
@emilazy:matrix.orgemily I think there's other random things where temp-dir matters, I forget 10:35:46
@emilazy:matrix.orgemilythis should be sufficient though and could presumably be upstreamed10:36:02
@emilazy:matrix.orgemilyoh hmmm10:39:21
@emilazy:matrix.orgemily okay it looks like Lix actually uses $XDG_CACHE_HOME 10:39:33
@emilazy:matrix.orgemily so I don't know if temp-dir helps for that, it might just be broken 10:39:39
@emilazy:matrix.orgemily I think you need temp-dir for nix develop to work with case-sensitivity though? 10:41:05
@emilazy:matrix.orgemilynot sure.10:41:08
@emilazy:matrix.orgemily but that's for Git repo stuff which should be safe to store case-insensitively and tarballs go directly into the store or something? I don't know. I declare myself unqualified to have an opinion without further digging but I know that temp-dir was added to Lix specifically for case-sensitive store reasons 10:43:22
@emilazy:matrix.orgemily (and nix develop uses a /var/folders path even with temp-dir set so it doesn't actually help nix develop) 10:43:53
@emilazy:matrix.orgemily in any case, you do have to explicitly set use-case-hack, since it conditions only on platform. also maybe this should be #macos:nixos.org :) 10:44:27
@nbp:mozilla.orgnbp changed their display name from nbp to nbp — PTO.17:26:30
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Redacted or Malformed Event18:18:47
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) https://github.com/NixOS/nixpkgs/issues/420513 18:19:00
@emilazy:matrix.orgemilypretty non actionable until we can get a bisection going on an affected machine18:21:11
@emilazy:matrix.orgemilysince I'm assuming it does not reproduce on Hydra or the community builders?18:21:26
@emilazy:matrix.orgemily ideally someone experiencing it will give SSH access to someone with experience bisecting staging 18:21:58
@emilazy:matrix.orgemilywas the GCC minor bump that cycle?18:22:52
@emilazy:matrix.orgemilywould be pretty funny if GCC 14 betrayed us again18:23:01
@rosscomputerguy:matrix.orgTristan RossThere is a GCC bump18:23:23
@rosscomputerguy:matrix.orgTristan RossI have a Threadripper Pro 7995wx available currently, I have plenty of compute to (hopefully) bisect this. If someone provides a very reproducible runner, I can give it a try. Currently, the machine runs 25.05 and its fine.18:24:29
@rosscomputerguy:matrix.orgTristan RossThere's also an LLVM bump in that cycle18:25:19

Show newer messages


Back to Room ListRoom Version: 9