NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.98k stars 14k forks source link

utillinux got renamed to util-linux but utillinux is still used by mx-puppet-discord #350738

Open lomenzel opened 2 days ago

lomenzel commented 2 days ago

Describe the bug

enabling the discord matrix bridge results in an error

Steps To Reproduce

Steps to reproduce the behavior:

  1. use the current nixpkgs-unstable branch
  2. setup matrix with mx-puppet-discord
  3. ...

Expected behavior

configuration should evaluate

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

error:
       … while calling the 'head' builtin
         at /nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/lib/attrsets.nix:1575:11:
         1574|         || pred here (elemAt values 1) (head values) then
         1575|           head values
             |           ^
         1576|         else

       … while evaluating the attribute 'value'
         at /nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/lib/modules.nix:816:9:
          815|     in warnDeprecation opt //
          816|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          817|         inherit (res.defsFinal') highestPrio;

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `warnings':

       … while evaluating definitions from `/nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services.mx-puppet-discord.serviceConfig':

       … while evaluating definitions from `/nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services.mx-puppet-discord.preStart':

       … while evaluating definitions from `/nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/nixos/modules/services/matrix/mx-puppet-discord.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: 'utillinux' has been renamed to/replaced by 'util-linux'

Notify maintainers

@expipiplus1 @GovanifY

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

leonard@desktop: /home/leonard  
➜   nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.4, NixOS, 24.11 (Vicuna), 24.11.20241018.4c2fcb0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - channels(root): `"nixos-23.11"`
 - nixpkgs: `/nix/store/riqkpszjqk02bi1wppfg8ip5xvh102qd-source`

leonard@desktop: /home/leonard  
➜   

Add a :+1: reaction to issues you find important.

svrana commented 2 days ago

This should be resolved by #349783

https://nixpk.gs/pr-tracker.html?pr=349783

l0b0 commented 2 days ago

For the record, this seems to affect svgo-3.3.2, which is a dependency of emojione-1.4.

arcnmx commented 1 day ago

350815 likely addresses the culprit here