diff options
Diffstat (limited to '3 resources/nix/packages/apply-patches.md')
-rw-r--r-- | 3 resources/nix/packages/apply-patches.md | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/3 resources/nix/packages/apply-patches.md b/3 resources/nix/packages/apply-patches.md deleted file mode 100644 index e703f81..0000000 --- a/3 resources/nix/packages/apply-patches.md +++ /dev/null @@ -1,14 +0,0 @@ -We can apply patches to existing packages using [[overlays]]: -```nix -final: prev { - nova = prev.nova.overrideAttrs (old: { - patches = (old.patches or []) ++ [ - prev.fetchpatch { - url = "https://github.com/owner/repo/commit/hash.patch"; - hash = "somehash"; - }) - ./relative.patch - ] - }) -} -``` |