about summary refs log blame commit diff
path: root/tvix/tools/turbofetch/default.nix
blob: b7b6a052d76a3a12c81efdf9c0b037c2dd66dc85 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                          
{ 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;
}