nixpkgs-python
nixpkgs-python copied to clipboard
Failing to resolve www.python.org?
I'm trying to install python 3.7 by using the following
environment.systemPackages = [
nixpkgs-python.packages.x86_64-linux."3.6"
];
But I get the following error when I do
error: builder for '/nix/store/087dc65vagvbvn2il54pm881119l1p0q-Python-3.6.15.tar.xz.drv' failed with exit code 1;
last 10 log lines:
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: www.python.org
> Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: www.python.org
> Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: www.python.org
> Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: www.python.org
> error: cannot download Python-3.6.15.tar.xz from any mirror
For full logs, run 'nix log /nix/store/087dc65vagvbvn2il54pm881119l1p0q-Python-3.6.15.tar.xz.drv'.
Using flakes on nixos. Any ideas?