tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
sgx-azure-dcap-client: fix warnings
Philip Hayes
2 years ago
8b050cc9
fcc7d2be
+6
-6
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
sgx
azure-dcap-client
default.nix
+6
-6
pkgs/os-specific/linux/sgx/azure-dcap-client/default.nix
···
16
16
find "$out" -mindepth 1 -delete
17
17
cp ${lib.concatStringsSep " " list} "$out/"
18
18
'';
19
19
-
headers = linkFarmFromDrvs "azure-dcpa-client-intel-headers" [
19
19
+
headers = linkFarmFromDrvs "azure-dcap-client-intel-headers" [
20
20
(fetchFromGitHub rec {
21
21
name = "${repo}-headers";
22
22
owner = "intel";
···
69
69
find -L '${headers}' -type f -exec ln -s {} src/Linux/ext/intel \;
70
70
71
71
substitute src/Linux/Makefile{.in,} \
72
72
-
--replace '##CURLINC##' '${curl.dev}/include/curl/' \
73
73
-
--replace '$(TEST_SUITE): $(PROVIDER_LIB) $(TEST_SUITE_OBJ)' '$(TEST_SUITE): $(TEST_SUITE_OBJ)'
72
72
+
--replace-fail '##CURLINC##' '${curl.dev}/include/curl/' \
73
73
+
--replace-fail '$(TEST_SUITE): $(PROVIDER_LIB) $(TEST_SUITE_OBJ)' '$(TEST_SUITE): $(TEST_SUITE_OBJ)'
74
74
'';
75
75
76
76
env.NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
···
84
84
# $(nix-build -A sgx-azure-dcap-client.tests.suite)/bin/tests
85
85
passthru.tests.suite = callPackage ./test-suite.nix { };
86
86
87
87
-
meta = with lib; {
87
87
+
meta = {
88
88
description = "Interfaces between SGX SDKs and the Azure Attestation SGX Certification Cache";
89
89
homepage = "https://github.com/microsoft/azure-dcap-client";
90
90
-
maintainers = with maintainers; [ phlip9 trundle veehaitch ];
90
90
+
maintainers = with lib.maintainers; [ phlip9 trundle veehaitch ];
91
91
platforms = [ "x86_64-linux" ];
92
92
-
license = [ licenses.mit ];
92
92
+
license = [ lib.licenses.mit ];
93
93
};
94
94
}