pkgs/impure-overlays.nix: must be functions (#467498)

This commit is contained in:
Connor Baker
2025-12-03 15:56:42 +00:00
committed by GitHub
+4 -1
View File
@@ -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