Skip to content

Commit

Permalink
pkgs.mrf-driver: fix build with Linux >= 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
minijackson committed Aug 2, 2024
1 parent 7413e22 commit 3dbad09
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/epnix/kernel-modules/mrf/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
{
stdenv,
lib,
kernel,
epnix,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mrf-driver";

inherit (epnix.support.mrfioc2) version src;

patches = [
(fetchpatch {
name = "use-vm_flags_set-on-kernels-6-3.patch";
url = "https://github.com/epics-modules/mrfioc2/commit/64634a23a035d336de5d720b2e1ecafcc918d737.patch";
hash = "sha256-6/obmLfLKfhcwn12O0KKpogWCzg7Evs1kIoNm0x7Puw=";
stripLen = 2;
})
];

# Needed for kernel modules
hardeningDisable = ["format" "pic"];

Expand Down

0 comments on commit 3dbad09

Please sign in to comment.