forked from mirrors/nixpkgs
linuxPackages.apfs: add patch for Linux 5.18
This commit is contained in:
parent
6d82088583
commit
7b5bd9f719
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, kernel
|
||||
}:
|
||||
|
||||
|
@ -15,6 +16,15 @@ stdenv.mkDerivation {
|
|||
sha256 = "sha256-3T1BNc6g3SDTxb0VrronLUIp/CWbwnzXTsc8Qk5c4jY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build for Linux 5.18+.
|
||||
# https://github.com/linux-apfs/linux-apfs-rw/pull/24
|
||||
(fetchpatch {
|
||||
url = "https://github.com/linux-apfs/linux-apfs-rw/commit/93b93767acab614c4e6426c9fd38bdf9af00bc13.patch";
|
||||
sha256 = "1ss7cal851qadcmkn3jcckpa2f003nzb03xsx1g8vkb1cl0n8gi7";
|
||||
})
|
||||
];
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
|
|
Loading…
Reference in a new issue