!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

404 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.123 Servers

Load older messages


SenderMessageTime
30 Mar 2026
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/packages-config.nix15:17:22
@emilazy:matrix.orgemilycan it be driven by this?15:17:27
@emilazy:matrix.orgemilyotherwise it's just inconsistency between various things trying to achieve the same goal15:18:58
@rick:matrix.ciphernetics.nlRick (Mindavi)I guess having it as a flag brings it a step closer to script it15:25:55
@emilazy:matrix.orgemily it's a bit orthogonal, since packages-config.nix is passed as the Nixpkgs config when instantiating the package set 18:22:20
@emilazy:matrix.orgemily therefore the functionality could actually be removed from nix-index entirely – it would just be a matter of instantiating Nixpkgs appropriately 18:22:47
@emilazy:matrix.orgemilyhttps://github.com/nix-community/nix-index/blob/master/src/nixpkgs.rs#L2918:23:36
@emilazy:matrix.orgemily
        .arg("config")
        .arg("{ allowAliases = false; }") // override default nixpkgs config discovery

would be replaced by setting NIXPKGS_CONFIG=$nixpkgs/pkgs/top-level/packages-config.nix (or passing --arg config "import $nixpkgs/pkgs/top-level-packages.config.nix"), and then the scopes stuff can go away.

18:24:49
@emilazy:matrix.orgemily (ofc haskellPackages, coqPackages, texlive.pkgs might need handling in packages-config.nix… though I wonder if all of those are actually necessary these days, e.g. haskellPackages is certainly recursed into?) 18:25:43
@emilazy:matrix.orgemily it doesn't make much sense for the info used by https://github.com/NixOS/nixpkgs/blob/7d983847f0c19127319281055f1e086a04384de5/pkgs/top-level/packages-info.nix and https://github.com/NixOS/nixos-search/blob/7e05acf78305990769523f7670150e9e33f1f8f4/flake-info/src/commands/nixpkgs_info.rs to differ from that used by nix-index 18:26:49
@emilazy:matrix.orgemily since packages.json from Hydra uses it https://github.com/NixOS/nixpkgs-channels/blob/4762fba469e2baa82f983b262e2c06ac2fdaae67/pkgs/top-level/make-tarball.nix#L106 and nix-index is doing the same essential thing 18:27:20
@emilazy:matrix.orgemily(er… how did I end up on that old repo)18:28:20
22 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".17:01:28
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".17:01:28
@cole-h:matrix.orgcole-h joined the room.17:03:05
@andi:kack.itandi- joined the room.17:18:59
@sandro:supersandro.deSandro joined the room.17:21:35
@hexa:lossy.networkhexa joined the room.17:22:33
@7c6f434c:nitro.chat7c6f434c joined the room.17:24:51
@colemickens:matrix.orgcolemickens 🏳️‍🌈 joined the room.17:26:27
@qyliss:fairydust.spaceAlyssa Ross joined the room.18:02:00
@toonn:matrix.orgtoonn joined the room.18:54:47
23 May 2021
@lukegb:zxcvbnm.ninjalukegb (he/him) joined the room.00:25:48
@sternenseemann:systemli.orgsterni joined the room.00:32:36
@lukegb:zxcvbnm.ninjalukegb (he/him) changed their display name from lukegb to lukegb (he/him).01:33:07
@sumner:sumnerevans.comsumner joined the room.04:51:52
@domenkozar:matrix.orgDomen Kožar joined the room.11:04:44
@v:anomalous.euV joined the room.11:26:50
@danielle:fairydust.spacedanielle joined the room.12:06:13
@sternenseemann:systemli.orgsterni changed their display name from sterni to sterni (he/him).13:24:23

Show newer messages


Back to Room ListRoom Version: 6