summaryrefslogtreecommitdiff
path: root/3 resources/nix/overlays.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-01-08 10:48:09 +0100
committerJasper Ras <jras@hostnet.nl>2025-01-08 10:48:09 +0100
commited0753ad224f0c65133bd7a63180257eecd9f5e3 (patch)
treecc662868574fe17db58be9e0faadd452c84dc59c /3 resources/nix/overlays.md
parent493be30dc981eaf762a95a1218f96893b1976727 (diff)
vault backup: 2025-01-08 10:48:09
Diffstat (limited to '3 resources/nix/overlays.md')
-rw-r--r--3 resources/nix/overlays.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/3 resources/nix/overlays.md b/3 resources/nix/overlays.md
new file mode 100644
index 0000000..70dad85
--- /dev/null
+++ b/3 resources/nix/overlays.md
@@ -0,0 +1,8 @@
+Functions that accept two args (conventionally: final, prev) and return a set of [[package]]s.
+
+The `prev` arguments holds the set of packages of the "parent" overlay while the `final` argument holds the end result of **all** overlays applied. This means that overlays depend on each other. It is unclear how we can tell on which overlay an overlay depends.
+
+We can use it to override existing packages or add new packages.
+
+---
+https://nixos.wiki/wiki/Overlays