diff --git a/flake.nix b/flake.nix index 572f963..80a35f7 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,22 @@ # Nix makes the following list of dependencies available to the development # environment. buildInputs = (with p.native; [ + # Needed for cargo zigbuild + zig + cargo-zigbuild + + # Used by various rust build scripts to find system libs + # Note that this is the unwrapped version of pkg-config. By default, + # nix wraps pkg-config with a script that replaces the PKG_CONFIG_PATH + # with the proper settings for cross compilation. We already set these + # env variables ourselves and don't want nix overwriting them, so we + # use the unwrapped version. + pkg-config-unwrapped + + # Developer tools + cargo-deny + cargo-expand + cargo-binutils protobuf nixpkgs-fmt pre-commit