1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #120041 from Mic92/isgx

This commit is contained in:
Sandro 2021-04-22 03:52:52 +02:00 committed by GitHub
commit d4d8ab2b6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
url = "https://github.com/intel/linux-sgx-driver/commit/276c5c6a064d22358542f5e0aa96b1c0ace5d695.patch";
sha256 = "sha256-PmchqYENIbnJ51G/tkdap/g20LUrJEoQ4rDtqy6hj24=";
})
# Fixes detection with kernel >= 5.11
(fetchpatch {
url = "https://github.com/intel/linux-sgx-driver/commit/ed2c256929962db1a8805db53bed09bb8f2f4de3.patch";
sha256 = "sha256-MRbgS4U8FTCP1J1n+rhsvbXxKDytfl6B7YlT9Izq05U=";
})
];
hardeningDisable = [ "pic" ];
@ -46,8 +51,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/intel/linux-sgx-driver";
license = with licenses; [ bsd3 /* OR */ gpl2Only ];
maintainers = with maintainers; [ oxalica ];
platforms = platforms.linux;
# The driver is already in kernel >= 5.11.0.
broken = kernelAtLeast "5.11.0";
platforms = [ "x86_64-linux" ];
};
}