about summary refs log tree commit diff
path: root/nixpkgs/pkgs/top-level/impure.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/top-level/impure.nix')
-rw-r--r--nixpkgs/pkgs/top-level/impure.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/top-level/impure.nix b/nixpkgs/pkgs/top-level/impure.nix
index 3ba6c08a140b..d390bd9025fa 100644
--- a/nixpkgs/pkgs/top-level/impure.nix
+++ b/nixpkgs/pkgs/top-level/impure.nix
@@ -55,7 +55,7 @@ in
         else
           # it's a file, so the result is the contents of the file itself
           import path;
-    in
+    in (overlays ../../../overlays) ++ (
       if pathOverlays != "" && pathExists pathOverlays then overlays pathOverlays
       else if pathExists homeOverlaysFile && pathExists homeOverlaysDir then
         throw ''
@@ -70,7 +70,7 @@ in
         if !(isDir homeOverlaysDir) then
           throw (homeOverlaysDir + " should be a directory")
         else overlays homeOverlaysDir
-      else []
+      else [])
 
 , crossOverlays ? []