Proper way of applying patch to system managed via flake

edolstra already has a WIP PR which makes this a builtin, although it’s slightly more limited as you have to have the patch files in the flake rather than fetching.

https://github.com/NixOS/nix/pull/6530

3 Likes