Skip to content

Commit

Permalink
bazel sucks
Browse files Browse the repository at this point in the history
  • Loading branch information
mginoya committed Nov 22, 2024
1 parent bc187bc commit c26c0ca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
trimesh = callPackage ./nix/trimesh.nix { };
ml_collections = callPackage ./nix/ml_collections.nix { };
tensorstore = callPackage ./nix/tensorstore.nix { };
# tensorstore = pkgs.python3Packages.tensorstore;
in
{
overlays.dev = final: prev: {
Expand Down Expand Up @@ -138,6 +139,7 @@

packages = [
python-env
# pkgs.ca-certificates
pkgs.pre-commit
];

Expand Down
4 changes: 2 additions & 2 deletions nix/brax.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "google";
repo = "brax";
rev = "v0.10.5";
hash = "sha256-Ek1j/tghkNOny6uPWM+WHlTB3eZI5yl3oXq4DdIEJv4=";
rev = "v0.11.0";
hash = "sha256:1yf7q1v2zy77bxmx4q5b1pdma6rc3qx4fv5jx8bsl7ad4vkldn05";
};

nativeBuildInputs = [
Expand Down
5 changes: 5 additions & 0 deletions nix/tensorstore.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ buildPythonPackage
, fetchFromGitHub
, setuptools
, pkgs
}:

buildPythonPackage rec {
Expand All @@ -13,6 +14,10 @@ buildPythonPackage rec {
hash = "sha256-rT0R1x51xHAElPwernUjBIIneRhncnsohMRAIhXyaYk=";
};
format = "pyproject";

buildinputs = [
pkgs.bazel
];

propagatedBuildInputs = [
setuptools
Expand Down

0 comments on commit c26c0ca

Please sign in to comment.