Skip to content

Unable to add a fixed-output large file to the store on Darwin #1117

@copumpkin

Description

@copumpkin

This is what happens:

$ truncate -s 5G test
$ nix-store --add-fixed sha256 test
error: reading from file: Invalid argument

I assume one of the file APIs Nix is using is stuck on some sort of 32-bit file size counter on Darwin?

cc @shlevy @edolstra

Metadata

Metadata

Assignees

Labels

bugmacosNix on macOS, aka OS X, aka darwin

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions