Skip to content

Commit

Permalink
Add cctools to build inputs on Darwin
Browse files Browse the repository at this point in the history
Bazel requires `libtool` for creating static archives on Darwin instead of the `ar` tool.
  • Loading branch information
avdv committed Nov 24, 2023
1 parent 5c70ff3 commit de6e2b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nix/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
BAZEL_CXXOPTS = "-x:c++";

name = "rules_nixpkgs_shell";
buildInputs = lib.optional pkgs.stdenv.isDarwin darwin.cctools;
packages = [ bazel_6 bazel-buildtools cacert gcc nix git openssh ];
};
});
Expand Down

0 comments on commit de6e2b8

Please sign in to comment.