nmattia / niv

Easy dependency management for Nix projects
https://github.com/nmattia/niv
MIT License
1.58k stars 77 forks source link

Could not read the output of 'nix-prefetch-url' #335

Closed LATBauerdick closed 2 years ago

LATBauerdick commented 2 years ago

not sure this is really a bug, but here it is:

$ niv update ghc -v 8.10.7
Update ghc
  FATAL: Could not read the output of 'nix-prefetch-url'. This is a bug. Please create a
  ticket:

    https://github.com/nmattia/niv/issues/new

  Thanks! I'll buy you a beer.
  command: 
  nix-prefetch-urlhttps://downloads.haskell.org/~ghc/8.10.7/ghc-8.10.7-i386-deb8-linux.tar.xz --name ghc-8.10.7-i386-deb8-linux.tar.xz
  stdout: 

  stderr: 
  error: unable to download 'https://downloads.haskell.org/~ghc/8.10.7/ghc-8.10.7-i386-deb8-linux.tar.xz': HTTP error 404 ('')

         response body:

         <html>
         <head><title>404 Not Found</title></head>
         <body>
         <center><h1>404 Not Found</h1></center>
         <hr><center>nginx</center>
         </body>
         </html>

  FATAL: One or more packages failed to update:
  ghc: ExitFailure 1
ERROR: ExitFailure 1
LATBauerdick commented 2 years ago

duplicate with #330