nixos-config/sets/kernelpatch.nix

13 lines
371 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
boot.kernelPatches = [{
name = "fix-execve";
2023-08-26 23:00:18 +00:00
patch = pkgs.fetchpatch {
url =
"https://git.alpinelinux.org/aports/plain/main/linux-lts/0001-fs-exec-require-argv-0-presence-in-do_execveat_commo.patch?id=520e6dfd6e814414ab7cf862b897ca6ba427d30f";
sha256 = "sha256-vrN64lGDiAFgMn5SGWiI9MwNRct4m9DJDxokFZ6EpiE=";
};
}];
}