Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly copy binary files in nixpkgs_local_repository
This closes #136 `repository_ctx` is meant to work on "text" files and does text encoding and decoding, which breaks in the context of a binary file. There is no `cp` API in repository_ctx, as suggested in bazelbuild/bazel#11858, but bazelbuild/bazel#11857 suggested to use this approach with `repository_ctx.file`.
- Loading branch information