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
bat: 0.15.0 -> 0.15.1 #87622
bat: 0.15.0 -> 0.15.1 #87622
Conversation
I haven't seen this before, but I can say nothing has changed on the Rust/Cargo side that I'm aware of. The index update does use a lot of network traffic, though, so maybe your connection just blipped? |
It gave some sort of SSL certificate error, as though it didn’t have access to the system certificate store (due to sandboxing) or the Nix certificate store. But I didn’t go digging, I just confirmed that it was reproducible until I turned off the sandbox. |
Result of 5 packages built:- bat - bat-extras.batgrep - bat-extras.batman - bat-extras.batwatch - bat-extras.prettybat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked just fine on my NixOS machine with sandboxing. Actual application LGTM as well, but we should probably wait for the OfBorg Darwin build.
|
Thanks! |
FWIW I just confirmed the issue I'm getting in the macOS sandbox for |
Motivation for this change
https://github.com/sharkdp/bat/releases/tag/v0.15.1
One of the tests fails 100% in macOS due to the way the filesystem behaves, so I've patched it out. sharkdp/bat#983 is the upstream issue to track this, so hopefully we can remove the patch in the next version.
Oddly, trying to build this with sandboxing failed on the cargo vendor stage where it couldn't update the index. I don't recall having this issue before, so I'm wondering if something changed on the nixpkgs side? Not directly related to
bat
though, and I assume it's specific to macOS sandboxing too or someone would have noticed this problem before.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)