From 3e5ff441d30f5c79e90d689d3380a4867f2909aa Mon Sep 17 00:00:00 2001 From: ChUrl Date: Tue, 9 Aug 2022 22:22:37 +0200 Subject: [PATCH] add overlays/default.nix --- overlays/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/overlays/default.nix b/overlays/default.nix index 40624667..0ff5f448 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -2,7 +2,12 @@ let # Taken from https://github.com/Misterio77/nix-config/blob/main/overlay/default.nix + # By specifying this we can just add our derivation to derivations/default.nix and it will land here additions = final: prev: import ../derivations { pkgs = final; }; in + # TODO: I have absolutely no clue what happens here lol + # Basically we need some sort of list of all overlays that can be imported from the flake + # in the overlays = [ ... ] section of the pkgs = import nixpkgs { ... } configuration + # Somehow this library function turns additions into that nixpkgs.lib.composeManyExtensions [ additions ] \ No newline at end of file