From f6cdb4a4b050581a257789ab14a9557aba7ff37b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 2 Mar 2019 20:49:45 +0100 Subject: Centrally define set of custom packages Weirdly I did not find a better way to pass a userspace "" channel throughout the home-manager expression tree. i.e. adding a "mypkgs ? import { }" argument to all expressions failed somewhere inside Nix. However this way has the benefit of making it very easy to augment the derivations maintained in pkgs.kummerlaender.eu with additional packages. --- custom.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'custom.nix') diff --git a/custom.nix b/custom.nix index 88745ad..61de1aa 100644 --- a/custom.nix +++ b/custom.nix @@ -33,5 +33,9 @@ in { }; }); }; + + pkgs = mkOption { + type = types.attrs; + }; }; } -- cgit v1.2.3