From 97124a3f122087910d8e1751f560ece16527ce86 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 17 Dec 2024 09:25:13 -0800 Subject: add support for overlays and add one for `sapi' --- nix/lib/overlays.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 nix/lib/overlays.nix (limited to 'nix/lib/overlays.nix') diff --git a/nix/lib/overlays.nix b/nix/lib/overlays.nix new file mode 100644 index 0000000..1ec6f49 --- /dev/null +++ b/nix/lib/overlays.nix @@ -0,0 +1,6 @@ +let path = ../../overlays; +in with builtins; +map (n: import (path + ("/" + n))) (filter + (n: + match ".*\\.nix" n != null || pathExists (path + ("/" + n + "/default.nix"))) + (attrNames (readDir path))) -- cgit 1.4.1