bdda10a2f5
Change-Id: I2efa6f94f57e812c52371256a4e62d1d54ff5057 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9925 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
12 lines
348 B
Nix
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;
|
|
}
|