fetchurl: Always use tarballs.nixos.org

Otherwise, if the upstream mirror changes (rather than deletes) a
file, then tarballs.nixos.org won't be used even if it has a copy of
the original file, and so we'll get a hash mismatch.
This commit is contained in:
Eelco Dolstra 2015-12-10 15:18:30 +01:00
parent 6bd0519918
commit bb672805cd

View File

@ -89,10 +89,6 @@ for url in $urls; do
if test -z "${!varName}"; then
echo "warning: unknown mirror:// site \`$site'"
else
# Assume that SourceForge/GNU/kernel mirrors have better
# bandwidth than nixos.org.
preferHashedMirrors=
mirrors=${!varName}
# Allow command-line override by setting NIX_MIRRORS_$site.