bleeding edge repos: only use local tar.gz files when enabled by custom config
svn path=/nixpkgs/trunk/; revision=12681
This commit is contained in:
parent
c4270fb9b8
commit
fa321143d1
@ -15,7 +15,7 @@ args:
|
|||||||
sourceByName = name :
|
sourceByName = name :
|
||||||
let localTarGZ = managedRepoDir+"/dist/${name}.tar.gz";
|
let localTarGZ = managedRepoDir+"/dist/${name}.tar.gz";
|
||||||
fetchInfos = import ../../../misc/bleeding-edge-fetch-infos.nix; in
|
fetchInfos = import ../../../misc/bleeding-edge-fetch-infos.nix; in
|
||||||
if pathExists localTarGZ
|
if (getConfig ["bleedingEdgeRepos" "useLocalRepos"] false ) && pathExists localTarGZ
|
||||||
then localTarGZ
|
then localTarGZ
|
||||||
else if __hasAttr name fetchInfos
|
else if __hasAttr name fetchInfos
|
||||||
then (__getAttr name fetchInfos) { inherit fetchurl; }
|
then (__getAttr name fetchInfos) { inherit fetchurl; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user