From 0cf6d065f43c66efadd0a364c3414e6ecdae0004 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 11 Feb 2016 03:47:26 +0100 Subject: *: turn 5pkgs into a(n optional) module --- default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index b0ad60d8..2aa0a8e1 100644 --- a/default.nix +++ b/default.nix @@ -43,16 +43,12 @@ let stockholm = { imports = builtins.filter lib.dir.has-default-nix (lib.concatLists [ (map (f: f "2configs") [ lib.upath ]) (map (f: f "3modules") [ lib.kpath lib.upath ]) + (map (f: f "5pkgs") [ lib.kpath lib.upath ]) ]); krebs.current.enable = true; krebs.current.host = config.krebs.hosts.${current-host-name}; krebs.current.user = config.krebs.users.${current-user-name}; - - nixpkgs.config.packageOverrides = pkgs: let - kpkgs = import (lib.kpath "5pkgs") { inherit lib pkgs; }; - upkgs = import (lib.upath "5pkgs") { inherit lib; pkgs = pkgs // kpkgs; }; - in kpkgs // upkgs; }; eval = config: import (lib.npath "nixos/lib/eval-config.nix") { -- cgit v1.2.3