| 8 Nov 2024 |
connor (he/him) | * Pointed out to me today by a coworker:
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"
:(
(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)
| 08:20:48 |
connor (he/him) | * Pointed out to me today by a coworker:
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"
:(
(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)
| 08:20:56 |
connor (he/him) | * Pointed out to me today by a coworker:
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source
[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"
>:(
(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)
| 08:21:04 |
connor (he/him) |
A string interpolates to itself.
A path in an interpolated expression is first copied into the Nix store, and the resulting string is the [store path] of the newly created store object .
https://github.com/NixOS/nix/blob/723fdeb4f1bd7fad7c3b00603067d23c314b25c5/doc/manual/source/language/string-interpolation.md?plain=1#L153-L155
| 08:21:57 |
| 10 Nov 2024 |
| Phillip Seeber joined the room. | 01:14:24 |
| 11 Nov 2024 |
hexa | Gaétan Lepage: tensordict is still causing issues https://hydra.nixos.org/build/278116531 | 23:29:53 |
hexa | I killed it now after 7 hours of build time | 23:30:04 |
hexa | stuck at 22% | 23:30:09 |
hexa | I recommend finding a machine to reproduce, then going in with pytestFlagsArray = [ "-vvv"] and possibly pytest-timeout | 23:30:39 |
| 12 Nov 2024 |
| pfhuh joined the room. | 05:55:30 |
| Luke removed their profile picture. | 17:33:09 |
| Luke set a profile picture. | 17:33:42 |
| Luke removed their profile picture. | 17:34:36 |
| Luke set a profile picture. | 17:35:11 |
Gaétan Lepage | Yes, I know :/
I will try to identify the problematic test | 20:25:54 |
Gaétan Lepage | Here is where it gets stuck | 20:33:04 |
Gaétan Lepage |  Download clipboard.png | 20:33:08 |
hexa | next step is to test whether disabling the problematic test helps | 22:01:34 |
hexa | and possibly report it upstream | 22:01:47 |
| 13 Nov 2024 |
hexa |
64m copying path '/nix/store/gmxz8f4b8pcqkwahz62jd3p37lj38qsb-python3.11-tensorflow-gpu-2.13.0' from 'https://nix-community.cachix.org'...
| 00:47:42 |
hexa | 🤔 | 00:47:45 |
hexa | fetching via wget works with 30MB/s | 01:11:04 |
hexa | ok, broken nix-daemon 😕 | 01:16:39 |
Gaétan Lepage | In reply to @hexa:lossy.network next step is to test whether disabling the problematic test helps I tried adding pytest-timeout and --timeout=100 and the test suit seems to pass just fine. | 12:14:05 |
Gaétan Lepage | Without the need to disable any test. | 12:14:13 |
Gaétan Lepage | I thought that pytest-timeout would fail a test that is taking too long | 12:14:35 |
SomeoneSerge (back on matrix) | In reply to @snektron:matrix.org Is there a reason why https://github.com/NixOS/nixpkgs/pull/291471 is not merged? Hi, could you test https://github.com/NixOS/nixpkgs/pull/355470 | 13:52:32 |
hexa | In reply to @glepage:matrix.org I thought that pytest-timeout would fail a test that is taking too long that is the idea | 17:08:18 |
hexa | but if no test gets stuck long enough, then it does nothing | 17:08:34 |
| 14 Nov 2024 |
Snektron | In reply to @ss:someonex.net Hi, could you test https://github.com/NixOS/nixpkgs/pull/355470 Sure, wow, thanks for working on that | 07:03:34 |