NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.49k stars 12.99k forks source link

discourse update script broken #321499

Open yayayayaka opened 2 weeks ago

yayayayaka commented 2 weeks ago

Describe the bug

The discourse update.py script depends on nix-universal-prefetch, which was removed by 578d7e717848de3259baa52262a9267a9cdf6277 in #321436.

Steps To Reproduce

Steps to reproduce the behavior:

  1. pkgs/servers/web-apps/discourse/update.py update

Expected behavior

The update scripts succeeds.

Notify maintainers

@talyz

Screenshots

error:
       … while calling the 'derivationStrict' builtin
         at /builtin/derivation.nix:1:208:
       … while evaluating derivation 'shell'
         whose name attribute is located at /nix/store/r88r99f9j21ixqjxxw60wq3y4i258cqz-source/pkgs/stdenv/generic/make-derivation.nix:331:7

       … while evaluating attribute 'buildInputs' of derivation 'shell'
         at /nix/store/r88r99f9j21ixqjxxw60wq3y4i258cqz-source/pkgs/stdenv/generic/make-derivation.nix:378:7:
          377|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          378|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          379|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

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

       error: The nix-universal-prefetch package was dropped since it was unmaintained.

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

Mic92 commented 1 week ago

Could nix-update replace nix-universal-prefetch in these instances?