ci/eval: add rebuildsByPlatform to the comparison result (#363751)
[NixPkgs.git] / pkgs / by-name / sg / sgx-azure-dcap-client / test-suite.nix
blob5363efd55835a46681fa6184ce80a31047e3a7b1
2   lib,
3   sgx-azure-dcap-client,
4   gtest,
5   makeWrapper,
6 }:
7 sgx-azure-dcap-client.overrideAttrs (old: {
8   nativeBuildInputs = old.nativeBuildInputs ++ [
9     makeWrapper
10     gtest
11   ];
13   patches = (old.patches or [ ]) ++ [
14     ./tests-missing-includes.patch
15   ];
17   buildFlags = [
18     "tests"
19   ];
21   installPhase = ''
22     runHook preInstall
24     install -D ./src/Linux/tests "$out/bin/tests"
26     runHook postInstall
27   '';
29   postFixup = ''
30     wrapProgram "$out/bin/tests" \
31       --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ sgx-azure-dcap-client ]}"
32   '';