diff options
-rw-r--r-- | default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/default.nix b/default.nix index 0720a568..1f43cdd9 100644 --- a/default.nix +++ b/default.nix | |||
@@ -1,11 +1,9 @@ | |||
1 | { sources ? import ./nix/sources.nix }: | 1 | { sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs {} }: |
2 | let | 2 | let |
3 | pkgs = import sources.nixpkgs {}; | 3 | mypkgs = pkgs.callPackage ./pkgs {}; |
4 | pkgs_ = pkgs; | ||
5 | mypkgs = import ./pkgs { pkgs = pkgs_; }; | ||
6 | in | 4 | in |
7 | { | 5 | { |
8 | lib = import ./lib { pkgs = pkgs_; }; | 6 | lib = pkgs.callPackage ./lib {}; |
9 | modules = import ./modules; | 7 | modules = import ./modules; |
10 | overlays = import ./overlays; | 8 | overlays = import ./overlays; |
11 | pkgs = mypkgs; | 9 | pkgs = mypkgs; |