tvl-depot/tvix/tools/turbofetch/default.nix
edef bdda10a2f5 feat(tvix/tools/turbofetch): init
Change-Id: I2efa6f94f57e812c52371256a4e62d1d54ff5057
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9925
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2023-11-10 19:05:36 +00:00

12 lines
348 B
Nix

{ lib, pkgs, ... }:
(pkgs.callPackage ./Cargo.nix {
defaultCrateOverrides = pkgs.defaultCrateOverrides // {
ring = prev: {
# TODO(edef): implement CARGO_MANIFEST_LINKS in crate2nix
CARGO_MANIFEST_LINKS = ''ring_core_${lib.replaceStrings ["."] ["_"] prev.version}'';
};
};
}).rootCrate.build.override {
runTests = true;
}