Unverified Commit 3ae2ac4f authored by Connor Baker's avatar Connor Baker Committed by GitHub
Browse files

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

parents 0b8cec1e 6264db5d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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