diff options
Diffstat (limited to 'tvix/default.nix')
-rw-r--r-- | tvix/default.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/tvix/default.nix b/tvix/default.nix index ef0e2386db0b..c6ac87528765 100644 --- a/tvix/default.nix +++ b/tvix/default.nix @@ -22,6 +22,11 @@ in nixpkgs = pkgs.path; defaultCrateOverrides = pkgs.defaultCrateOverrides // { + fuser = prev: { + buildInputs = prev.buildInputs or [ ] ++ [ pkgs.fuse ]; + nativeBuildInputs = prev.nativeBuildInputs or [ ] ++ [ pkgs.pkg-config ]; + }; + prost-build = prev: { nativeBuildInputs = protobufDep prev; }; @@ -56,6 +61,8 @@ in pkgs.cargo pkgs.clippy pkgs.evans + pkgs.fuse + pkgs.pkg-config pkgs.rust-analyzer pkgs.rustc pkgs.rustfmt @@ -72,12 +79,16 @@ in src = depot.third_party.gitignoreSource ./.; PROTO_ROOT = depot.tvix.store.protos; + buildInputs = [ + pkgs.fuse + ]; nativeBuildInputs = with pkgs; [ cargo + pkg-config + protobuf rust-analyzer - rustPlatform.cargoSetupHook rustc - protobuf + rustPlatform.cargoSetupHook ]; buildPhase = '' |