nmattia / niv

Easy dependency management for Nix projects

Home Page:https://github.com/nmattia/niv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

LATBauerdick opened this issue · comments

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

duplicate with #330