| 7 Sep 2021 |
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 |
| dusk 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 |
baloo | I don't understand why a patch would be bad, since we have such easy ability to patch upstreams | 18:54:02 |
baloo | the ability to patch upstream is one of the best thing there is about nix, I don't get why people would attach important to an upstream release | 18:54:51 |
baloo | like, by merging the patch upstream, there is some "acceptance" (wrong word) the patch is needed. So it feels like a pure philosophical limitation ... and I don't get it. | 18:57:04 |
baloo | (just trying to understand things going on here, not trying to be an ass or something) | 18:57:46 |
tomberek | i don't know, i think it'd be fine for most, but Nix is a bit special and so a lot of the normal committers are hesitating. I'm not aware of any expressed objections. | 18:58:47 |
baloo | I've been chasing the issue for a month now, and seeing it drag when it should be fixed. I don't know, bothers me | 18:58:51 |
tomberek | We can post it in "Nix Hackers" | 18:59:39 |
| 15 Sep 2021 |
tomberek | baloo: This indicates that more than that PR is needed: https://github.com/NixOS/nix/issues/5089#issuecomment-917606674 | 01:01:13 |