!UNVBThoJtlIiVwiDjU:nixos.org

Staging

306 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/104 Servers

Load older messages


SenderMessageTime
11 Nov 2025
@elvishjerricco:matrix.orgElvishJerriccois there someone who knows what's going on / what to do about it?07:30:48
@leona:leona.isleonatexlive/share links to the texlive-doc output now and therefore texlive/share/something can't be created07:32:22
@leona:leona.isleonaI haven't yet figured out why this is now07:32:30
@mlenz:matrix.orgMirko Lenz changed their display name from mlenz to Mirko Lenz.08:07:22
@elvishjerricco:matrix.orgElvishJerriccobisected it to https://github.com/NixOS/nixpkgs/pull/45187110:46:52
@elvishjerricco:matrix.orgElvishJerriccoso that's fun10:47:44
@elvishjerricco:matrix.orgElvishJerricco
nix-repl> :p (texliveMinimal.withPackages (ps: [])).pathsToLink
[
  "/"
  "/share/texmf-var/scripts"
  "/share/texmf-var/tex/generic/config"
  "/share/texmf-var/web2c"
  "/share/texmf-config"
  "/bin"
]

nix-repl> :p (texliveMinimal.withPackages (ps: [])).pathsToLinkJSON
["/"]

ok, it's an overrides inconsistency, probably because of https://github.com/NixOS/nixpkgs/blob/addd85b5d06ea90d5a7923956a65baf96bcd1e9f/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix#L51

11:14:55
@elvishjerricco:matrix.orgElvishJerricco *
nix-repl> :p (texliveMinimal.withPackages (ps: [])).pathsToLink
[
  "/"
  "/share/texmf-var/scripts"
  "/share/texmf-var/tex/generic/config"
  "/share/texmf-var/web2c"
  "/share/texmf-config"
  "/bin"
]

nix-repl> :p (texliveMinimal.withPackages (ps: [])).pathsToLinkJSON
["/"]

ok, it's an overriding inconsistency, probably because of https://github.com/NixOS/nixpkgs/blob/addd85b5d06ea90d5a7923956a65baf96bcd1e9f/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix#L51

11:15:05
@k900:0upti.meK900...what the fuck11:15:18
@elvishjerricco:matrix.orgElvishJerriccoyea, this is great fun :P11:15:37
@elvishjerricco:matrix.orgElvishJerricco so much fun, you can't do the finalAttrs style fix with runCommand 11:17:18
@vcunat:matrix.orgvcunatI looked at that override a while ago, but no ideas why this would happen.11:17:28
@elvishjerricco:matrix.orgElvishJerricco well, presumably it's because the buildEnv' wrapper function in that build-tex-env.nix file is not really passing pathsToLink to buildEnv, but instead replacing it with overrideAttrs, which does not propagate to pathsToLinkJSON 11:18:25
@elvishjerricco:matrix.orgElvishJerricco because buildEnv uses rec instead of a finalAttrs type thing 11:18:42
@elvishjerricco:matrix.orgElvishJerricco which you can't do with runCommand 11:18:48
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)queue is basically empty, so i guess its just fixing the channel blockers now?11:18:49
@elvishjerricco:matrix.orgElvishJerricco so I guess I can either figure out how to plumb a finalAttrs into buildEnv to get rid of the rec, or I can just extract the pathsToLink arg and pass it to buildEnv properly 11:20:16
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) do we even need overrideAttrs, can't we just // most of the things? 11:20:43
@elvishjerricco:matrix.orgElvishJerriccoyea it's not clear to me why this function was written this way11:21:36
@vcunat:matrix.orgvcunatI have a workaround for it.11:21:46
@vcunat:matrix.orgvcunat(fixing some texlive builds at least)11:21:59
@elvishjerricco:matrix.orgElvishJerricco good lord, the thing it does to extract extraOutputsToInstall appears to have been not working this whole time, so that's fun (there needed to be parens) 11:22:50
@vcunat:matrix.orgvcunatYeah, I'm adding the parens, too.11:23:08
@elvishjerricco:matrix.orgElvishJerriccooh we've done the same fix? :P11:23:17
@elvishjerricco:matrix.orgElvishJerricco
    buildEnv' =
      args:
      (buildEnv (
        {
          inherit (args) name paths;
        }
        // lib.optionalAttrs (args ? extraOutputsToInstall) { inherit (args) extraOutputsToInstall; }
        // lib.optionalAttrs (args ? pathsToLink) { inherit (args) pathsToLink; }
      )).overrideAttrs
        (
          removeAttrs args [
            "extraOutputsToInstall"
            "pathsToLink"
            "name"
            "paths"
            "pkgs"
          ]
        );
11:23:39
@vcunat:matrix.orgvcunatYes, exactly.11:24:04
@vcunat:matrix.orgvcunatUp to formatting and ordering in the list.11:24:14
@elvishjerricco:matrix.orgElvishJerriccolol11:24:19
@vcunat:matrix.orgvcunat* Up to formatting and ordering in the list. (I don't care about those)11:24:22
@elvishjerricco:matrix.orgElvishJerriccoyea, it does appear to resolve the issue11:24:40

Show newer messages


Back to Room ListRoom Version: 6