git.iko.soy/typeable/nixpkgs
on master help sign in
isgx: fix support for 5.11
commit7745b7a9d1c1aea593c45d2645ebe8f27baf9f1d authorJörg Thalheim <joerg@thalheim.io> dateWed 21 Apr 2021, 06:03 (6 years ago) parent8284fc3
1 file changed+5−2
pkgs/os-specific/linux/isgx/default.nix+5−2
pkgs/os-specific/linux/isgx/default.nix+5−2
@@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
1717 url = "https://github.com/intel/linux-sgx-driver/commit/276c5c6a064d22358542f5e0aa96b1c0ace5d695.patch";
1818 sha256 = "sha256-PmchqYENIbnJ51G/tkdap/g20LUrJEoQ4rDtqy6hj24=";
1919 })
20+ # Fixes detection with kernel >= 5.11
21+ (fetchpatch {
22+ url = "https://github.com/intel/linux-sgx-driver/commit/ed2c256929962db1a8805db53bed09bb8f2f4de3.patch";
23+ sha256 = "sha256-MRbgS4U8FTCP1J1n+rhsvbXxKDytfl6B7YlT9Izq05U=";
24+ })
2025 ];
2126
2227 hardeningDisable = [ "pic" ];
@@ -47,7 +52,5 @@ stdenv.mkDerivation rec {
4752 license = with licenses; [ bsd3 /* OR */ gpl2Only ];
4853 maintainers = with maintainers; [ oxalica ];
4954 platforms = platforms.linux;
50− # The driver is already in kernel >= 5.11.0.
51− broken = kernelAtLeast "5.11.0";
5255 };
5356}