Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
t-a-m-e opened this issue Apr 17, 2024 · 1 comment
Closed

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

t-a-m-e opened this issue Apr 17, 2024 · 1 comment

Comments

@t-a-m-e
Copy link

t-a-m-e commented Apr 17, 2024

The command returned a message stating it was a bug, and asking to create a ticket..so here it is. I read through the previous issue, and am still struggling to get it working. The command that worked for them is not working for me. I'm working through the intro to nix tutorials, the command doesn't make sense to me even after searching for it..

Initializing
Creating nix/sources.nix
Creating nix/sources.json
Importing 'nixpkgs' ...
Adding package nixpkgs
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/nixos/nixpkgs/archive/e402c3eb6d88384ca6c52ef1c53e61bdc9b84ddd.tar.gz --name e402c3eb6d88384ca6c52ef1c53e61bdc9b84ddd.tar.gz
stdout: 

stderr: 
warning: unknown setting 'upgrade-nix-store-path-url'
error: failed to extract archive (Write failed)

FATAL: One or more packages failed to update:
nixpkgs: ExitFailure 1

ERROR: ExitFailure 1
ERROR: ExitFailure 1

@t-a-m-e t-a-m-e closed this as completed Apr 19, 2024
@nmattia
Copy link
Owner

nmattia commented Apr 19, 2024

hi @t-a-m-e sorry I was a bit slow to reply. Did you resolve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants