Skip to content

uradvd: wrong pname is exported in packages.json.br #446641

@AiyionPrime

Description

@AiyionPrime

Nixpkgs version

  • Stable (25.05)

Describe the bug

uradvd makes explicit use of the fields pname and version.

But for some reason pname is not correctly passed out into the channel summary, but contains an artifact of version as well.

configured pname: uradvd
reported pname: uradvd-r26

I'm new to nix, so this might be very well an issue in a different nix repo.
Please feel free to send me over, if that's the case.

Steps to reproduce

Compare the current pname:
https://github.com/NixOS/nixpkgs/blob/nixos-25.05/pkgs/by-name/ur/uradvd/package.nix#L11

with the reported one

curl -Ls https://channels.nixos.org/nixos-25.05/packages.json.br | brotli -d | jq | grep 'pname.*uradvd'
"pname": "uradvd-r26",

Expected behaviour

The reported pname of packages should match the configured pname.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.40, NixOS, 25.05 (Warbler), 25.05.807209.1f08a4df998e`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.28.4`
 - channels(root): `"home-manager-25.05.tar.gz, nixos-25.05"`
 - nixpkgs: `/nix/store/cgfhd6dvaml5h4863wybi63ryp6mwy2f-nixos-25.05/nixos`

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: repologyhttps://repology.org/

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions