about summary refs log blame commit diff
path: root/tvix/tools/crunch-v2/default.nix
blob: 689e86be655963305c9bf70bb67d478a5c05a375 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                               
{ pkgs, ... }:

let
  crates = import ./Cargo.nix {
    inherit pkgs;
    nixpkgs = pkgs.path;

    defaultCrateOverrides = pkgs.defaultCrateOverrides // {
      crunch-v2 = prev: {
        nativeBuildInputs = (prev.nativeBuildInputs or [ ]) ++ [ pkgs.buildPackages.protobuf ];
      };
    };
  };
in
crates.rootCrate.build