You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where nixpkgs.nix contains the relevant fetchTarball call. This solution does not use nixpkgs_git_repository and is more reproducible. Actually, I just realized that nixpkgs_git_repository does not forces the usage of the sha256 argument and hence is not reproducible.
So the best plan of action we figured out is to ask the user to use the nix-based fetchTarball approach and remove nixpkgs_git_repository.
@Profpatsch is this still considered an issue for rules_nixpkgs ?
I took note that this was posted on 2019 (although I do see it is labelled "priority 1").
If someone were to submit a pull request on this: are you simply looking to remove nixpkgs_git_repository plus update the examples? It appears that nix_local_repository already covers the minimal setup example you have in the original issue.
A minimal
WORKSPACE
setup ofrules_haskell
that usesnixpkgs_git_repository
fails on current master becausenixpkgs_git_repository
checks out nixpkgs into a bazel repository, which makes the heuristic require to manually specify every single file from the checked out nixpkgs. See this discission.@guibou says:
So the best plan of action we figured out is to ask the user to use the nix-based
fetchTarball
approach and removenixpkgs_git_repository
.cc @regnat @mboes
The text was updated successfully, but these errors were encountered: