diff --git a/pkgs/development/misc/bleeding-edge-repos/default.nix b/pkgs/development/misc/bleeding-edge-repos/default.nix index a5a4166b6e7..8ed2c80bacc 100644 --- a/pkgs/development/misc/bleeding-edge-repos/default.nix +++ b/pkgs/development/misc/bleeding-edge-repos/default.nix @@ -15,7 +15,7 @@ args: sourceByName = name : let localTarGZ = managedRepoDir+"/dist/${name}.tar.gz"; fetchInfos = import ../../../misc/bleeding-edge-fetch-infos.nix; in - if pathExists localTarGZ + if (getConfig ["bleedingEdgeRepos" "useLocalRepos"] false ) && pathExists localTarGZ then localTarGZ else if __hasAttr name fetchInfos then (__getAttr name fetchInfos) { inherit fetchurl; }