chore(tvix): Remove no longer needed libiconv addition for darwin
Since https://github.com/NixOS/nixpkgs/pull/220212 libiconv is now automatically added for Darwin. Change-Id: I2aaa266bcbc4d5a8256131aed36b4c2d040a8758 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11856 Tested-by: BuildkiteCI Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com> Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
210b4277b6
commit
ac51803ad8
1 changed files with 1 additions and 7 deletions
|
@ -4,7 +4,6 @@
|
||||||
let
|
let
|
||||||
# crate override for crates that need protobuf
|
# crate override for crates that need protobuf
|
||||||
protobufDep = prev: (prev.nativeBuildInputs or [ ]) ++ [ pkgs.buildPackages.protobuf ];
|
protobufDep = prev: (prev.nativeBuildInputs or [ ]) ++ [ pkgs.buildPackages.protobuf ];
|
||||||
iconvDarwinDep = lib.optional pkgs.stdenv.isDarwin pkgs.libiconv;
|
|
||||||
|
|
||||||
# On Darwin, some crates producing binaries need to be able to link against security.
|
# On Darwin, some crates producing binaries need to be able to link against security.
|
||||||
darwinDeps = lib.optionals pkgs.stdenv.isDarwin (with pkgs.buildPackages.darwin.apple_sdk.frameworks; [
|
darwinDeps = lib.optionals pkgs.stdenv.isDarwin (with pkgs.buildPackages.darwin.apple_sdk.frameworks; [
|
||||||
|
@ -34,11 +33,6 @@ let
|
||||||
# Load the crate2nix crate tree.
|
# Load the crate2nix crate tree.
|
||||||
crates = pkgs.callPackage ./Cargo.nix {
|
crates = pkgs.callPackage ./Cargo.nix {
|
||||||
defaultCrateOverrides = pkgs.defaultCrateOverrides // {
|
defaultCrateOverrides = pkgs.defaultCrateOverrides // {
|
||||||
zstd-sys = prev: {
|
|
||||||
nativeBuildInputs = prev.nativeBuildInputs or [ ];
|
|
||||||
buildInputs = prev.buildInputs or [ ] ++ iconvDarwinDep;
|
|
||||||
};
|
|
||||||
|
|
||||||
opentelemetry-proto = prev: {
|
opentelemetry-proto = prev: {
|
||||||
nativeBuildInputs = protobufDep prev;
|
nativeBuildInputs = protobufDep prev;
|
||||||
};
|
};
|
||||||
|
@ -246,7 +240,7 @@ in
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.fuse
|
pkgs.fuse
|
||||||
] ++ iconvDarwinDep;
|
] ++ lib.optional pkgs.stdenv.isDarwin pkgs.libiconv;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cargo doc --document-private-items
|
cargo doc --document-private-items
|
||||||
|
|
Loading…
Reference in a new issue