Skip to content

FATAL: Could not read the output of 'nix-prefetch-url' #341

Description

@oskin1

When running niv add input-output-hk/haskell.nix -n haskellNix the following output is produced:

Adding package haskellNix
  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-url--unpack https://github.com/input-output-hk/haskell.nix/archive/aaf4e230c69507fb3a1c6fe4c1f6603d659d5543.tar.gz --name aaf4e230c69507fb3a1c6fe4c1f6603d659d5543.tar.gz
  stdout: 
  
  stderr: 
  error: secret key is corrupt
  
  FATAL: One or more packages failed to update:
  haskellNix: ExitFailure 1
ERROR: ExitFailure 1

macOS Monterey 12.0, Aarch64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions