pkgs/impure-overlays.nix: must be functions (#467498)
This commit is contained in:
@@ -38,7 +38,10 @@ let
|
||||
)
|
||||
else
|
||||
# it's a file, so the result is the contents of the file itself
|
||||
[ (import path) ];
|
||||
let
|
||||
overlay = import path;
|
||||
in
|
||||
if builtins.isFunction overlay then [ overlay ] else overlay;
|
||||
in
|
||||
if pathOverlays != "" && builtins.pathExists pathOverlays then
|
||||
overlays pathOverlays
|
||||
|
||||
Reference in New Issue
Block a user