Show More
@@ -24,12 +24,19 b' args@' | |||
|
24 | 24 | , doCheck ? false |
|
25 | 25 | , ... |
|
26 | 26 | }: |
|
27 | let pkgs_ = (import <nixpkgs> {}); in | |
|
27 | 28 | |
|
28 | 29 | let |
|
29 | 30 | # Use nixpkgs from args or import them. We use this indirect approach |
|
30 | 31 | # through args to be able to use the name `pkgs` for our customized packages. |
|
31 | 32 | # Otherwise we will end up with an infinite recursion. |
|
32 |
pkgs = args.pkgs or (import <nixpkgs> { |
|
|
33 | pkgs = args.pkgs or (import <nixpkgs> { | |
|
34 | overlays = [ | |
|
35 | (import ./pkgs/overlays.nix) | |
|
36 | ]; | |
|
37 | inherit (pkgs_) | |
|
38 | system; | |
|
39 | }); | |
|
33 | 40 | |
|
34 | 41 | # Works with the new python-packages, still can fallback to the old |
|
35 | 42 | # variant. |
General Comments 0
You need to be logged in to leave comments.
Login now