cachix / nixpkgs-python

All Python versions, kept up-to-date on hourly basis using Nix.
Apache License 2.0
156 stars 9 forks source link

Failing to resolve www.python.org? #45

Open Supergamer1337 opened 1 week ago

Supergamer1337 commented 1 week ago

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?

domenkozar commented 4 days ago

Can you prove a full flake?