Show More
@@ -11,18 +11,19 b' args@' | |||
|
11 | 11 | , ... |
|
12 | 12 | }: |
|
13 | 13 | |
|
14 | let pkgs_ = (import <nixpkgs> {}); in | |
|
14 | let | |
|
15 | pkgs_ = (import <nixpkgs> {}); | |
|
16 | in | |
|
15 | 17 | |
|
16 | 18 | let |
|
17 | ||
|
18 | pkgs = args.pkgs or (import <nixpkgs> { | |
|
19 | pkgs = import <nixpkgs> { | |
|
19 | 20 | overlays = [ |
|
20 | 21 | (import ./pkgs/overlays.nix) |
|
21 | 22 | ]; |
|
22 | 23 | inherit |
|
23 | 24 | (pkgs_) |
|
24 | 25 | system; |
|
25 |
} |
|
|
26 | }; | |
|
26 | 27 | |
|
27 | 28 | # Works with the new python-packages, still can fallback to the old |
|
28 | 29 | # variant. |
@@ -39,7 +40,7 b' let' | |||
|
39 | 40 | in |
|
40 | 41 | !builtins.elem (basename path) [ |
|
41 | 42 | ".git" ".hg" "__pycache__" ".eggs" ".idea" ".dev" |
|
42 | "bower_components" "node_modules" | |
|
43 | "node_modules" "node_binaries" | |
|
43 | 44 | "build" "data" "result" "tmp"] && |
|
44 | 45 | !builtins.elem ext ["egg-info" "pyc"] && |
|
45 | 46 | # TODO: johbo: This check is wrong, since "path" contains an absolute path, |
General Comments 0
You need to be logged in to leave comments.
Login now