| 7 Sep 2021 |
baloo | if you'd like | 03:18:01 |
tomberek | add to "all-tests.nix"? | 03:22:51 |
baloo | first time actually using nixos tests :D | 03:26:15 |
tomberek | (that will make it super easy to reproduce in a flake-y manner) | 03:30:42 |
baloo | this fixes the test https://gist.github.com/baloo/c1b1c1fd8fe1f034280cb25225f06fa0 | 03:33:48 |
baloo | \o/ | 03:33:51 |
tomberek | nix build github:baloo/nixpkgs/baloo/tests/nix-fetch#nixosTests.nix-fetch | 03:35:25 |
baloo | oooooohhh that's nice | 03:35:51 |
baloo | didn't know that syntax | 03:35:56 |
tomberek | can you put that new applied patch into another branch? | 03:36:02 |
baloo | sure | 03:36:12 |
baloo | baloo/nix/sandbox-dns-lookup | 03:37:34 |
baloo | https://github.com/baloo/nixpkgs/tree/baloo/nix/sandbox-dns-lookup | 03:37:58 |
baloo | the tarball thing should go away, but ... I haven't found the right way to do it yet | 03:39:51 |
tomberek | (flakes are great for reproducibility)
nix build github:baloo/nixpkgs/baloo/nix/sandbox-dns-lookup#nixosTests.nix-fetch -L ... nix is rebuilding... one sec | 03:40:25 |
tomberek | baloo: the lookup only succeeds after a few failures:
vm-test-run-nixos-generate-config> client # /nix/store/qfzy192fairyll5539185075jkqvh3vh-example.com.drv
vm-test-run-nixos-generate-config> client # building '/nix/store/qfzy192fairyll5539185075jkqvh3vh-example.com.drv'...
vm-test-run-nixos-generate-config> client # warning: unable to download 'http://tarballs.nixos.org/sha256/a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447': Couldn't resolve host name (6); retrying in 264 ms
vm-test-run-nixos-generate-config> client # warning: unable to download 'http://tarballs.nixos.org/sha256/a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447': Couldn't resolve host name (6); retrying in 608 ms
vm-test-run-nixos-generate-config> client # warning: unable to download 'http://tarballs.nixos.org/sha256/a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447': Couldn't resolve host name (6); retrying in 1325 ms
vm-test-run-nixos-generate-config> client # warning: unable to download 'http://tarballs.nixos.org/sha256/a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447': Couldn't resolve host name (6); retrying in 2664 ms
vm-test-run-nixos-generate-config> client # /nix/store/8sq52k8mwcl7wxm9fgps6nsbv8s0x0rg-example.com
vm-test-run-nixos-generate-config> (97.91 seconds)
vm-test-run-nixos-generate-config> (97.91 seconds)
vm-test-run-nixos-generate-config> (113.85 seconds)
vm-test-run-nixos-generate-config> test script finished in 113.87s
vm-test-run-nixos-generate-config> cleaning up
vm-test-run-nixos-generate-config> killing client (pid 28)
vm-test-run-nixos-generate-config> killing http_dns (pid 10)
vm-test-run-nixos-generate-config> (0.00 seconds)
| 03:47:04 |
baloo | Yeah that’s expected. It runs in a vacuum. It can not reach the exterior. | 03:51:18 |
baloo | Tarballs.Nixos.org is not even set in the dns | 03:51:52 |
baloo | In reply to @baloo_:matrix.org the tarball thing should go away, but ... I haven't found the right way to do it yet That is what I meant with that | 03:52:26 |
baloo | tomberek: that should be better | 04:09:32 |
baloo | deployed it to my local machine | 04:25:27 |
baloo | seems fixed | 04:25:30 |
Rick (Mindavi) | I'll test out the patch too, rebuilding nix now :) | 09:36:57 |
| 9 Sep 2021 |
baloo | new version of the patch merged \o/ | 16:08:24 |
baloo | on both unstable and 2.3 | 16:08:29 |
| 11 Sep 2021 |
| yusdacra changed their profile picture. | 16:32:35 |
| 14 Sep 2021 |
baloo | I really don't understand why I can't get a merge on https://github.com/NixOS/nixpkgs/pull/137197 | 16:41:30 |
baloo | why are we waiting on eelco when he merged upstream PR himself | 16:43:28 |
tomberek | is it an issue of wanting the fix to be a release vice a patch? | 18:30:53 |
baloo | I mean, there was a couple call for a new release of nix, so far unsuccessful | 18:53:33 |