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: support darwin #41503
bat: support darwin #41503
Conversation
pkgs/tools/misc/bat/default.nix
Outdated
@@ -15,11 +15,15 @@ rustPlatform.buildRustPackage rec { | |||
|
|||
nativeBuildInputs = [ cmake pkgconfig zlib ]; | |||
|
|||
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ | |||
libiconv darwin.apple_sdk.frameworks.Security |
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.
Can you put libiconv in buildInputs? The conditional should not be necessary.
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.
Sure, will do.
FWIW: this was inspired by exa
which also only includes libiconv
conditionally.
@GrahamcOfBorg build bat |
Success on x86_64-linux (full log) Attempted: bat Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: bat Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: bat Partial log (click to expand)
|
Motivation for this change
This enables darwin support for
bat
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)