Skip to content

Commit

Permalink
Update nixpkgs (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldk authored Nov 15, 2024
1 parent 06e5965 commit f382047
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 15 additions & 16 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,21 @@ final: prev: {

moe-kernels = callPackage ./pkgs/python-modules/moe-kernels { };

# opentelemetry-instrumentation-grpc = python-super.opentelemetry-instrumentation-grpc.overrideAttrs (
# _: prevAttrs: {
# patches = [
# (prev.fetchpatch {
# url = "https://github.com/open-telemetry/opentelemetry-python-contrib/commit/1c8d8ef5368c15d27c0973ce80787fd94c7b3176.diff";
# hash = "sha256-Zc9Q5lCxHP73YErf0TqVAsdmgwibW6LZteycW9zB9a8=";
# stripLen = 2;
# includes = [ "*grpc*" ];
# })
# ];

# meta = prevAttrs.meta // {
# broken = false;
# };
# }
# );
#opentelemetry-proto = python-super.opentelemetry-proto.override { protobuf = super.protobuf3_24; };

opentelemetry-instrumentation-grpc = python-super.opentelemetry-instrumentation-grpc.overrideAttrs (
_: prevAttrs: {
patches = [ ];

# Overwrite old protobuf files which leads to failing.
preCheck = ''
python -m grpc_tools.protoc -Itests/protobuf --python_out=tests/protobuf \
--grpc_python_out=tests/protobuf tests/protobuf/test_server.proto # --mypy_out=text_generation_server/pb
'';

nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ python-super.grpcio-tools ];
}
);

mamba-ssm = callPackage ./pkgs/python-modules/mamba-ssm { };

Expand Down

0 comments on commit f382047

Please sign in to comment.