| 14 Feb 2022 |
woobilicious |  Download image.png | 02:17:46 |
woobilicious | nevermind I found the issue. | 03:12:44 |
woobilicious | Mic92: I got a decent dev environment running with nixos-shell: https://gist.github.com/YellowOnion/627c1030d94318b7de07c95fea168dbd | 03:27:30 |
woobilicious | Zhaofeng Li: check out this^, I think it's a little easier to manage than what I had earlier | 03:28:48 |
Mic92 (Old) | In reply to @woobilicious:matrix.org Mic92: I got a decent dev environment running with nixos-shell: https://gist.github.com/YellowOnion/627c1030d94318b7de07c95fea168dbd Nice, what are you doing with all those physical disks? Testing filesystems? | 05:44:13 |
Mic92 (Old) | Maybe link this in the wiki or nixos-shell readme | 05:44:40 |
woobilicious | Mic92: yeah testing bcachefs | 06:08:33 |
| Tseb joined the room. | 13:34:13 |
| m00wl joined the room. | 17:10:22 |
| 16 Feb 2022 |
Mic92 (Old) | Wtf is macos doing with TMPDIR!? https://github.com/nix-community/nix-eval-jobs/runs/5218725486?check_suite_focus=true | 17:09:12 |
Mic92 (Old) | That's one of my main issue when porting tests to macos... | 17:09:32 |
Mic92 (Old) | I think I will just point TMPDIR to something sane | 17:09:44 |
K900 | Sounds like it might be missing a trailing slash? | 17:10:07 |
K900 | And something just concatenates it instead of doing the correct thing | 17:10:24 |
Mic92 (Old) | yeah, but it works on Linux and I am using python's stdlib to get this tempdir | 17:10:26 |
Mic92 (Old) | and pathlib to compute paths | 17:10:41 |
K900 | Wait | 17:11:05 |
K900 | It's not the same tmpdir | 17:11:08 |
K900 | The error and the command have different paths | 17:11:23 |
Mic92 (Old) | Yeah... | 17:11:40 |
Mic92 (Old) | Maybe some symlink that gets resolved? | 17:11:50 |
K900 | Looks like /tmp is a symlink to /private/tmp here | 17:12:08 |
K900 | So I guess Nix resolves it? | 17:12:22 |
K900 | Which means you found a real bug | 17:12:38 |
K900 | In Nix | 17:12:40 |
Mic92 (Old) | mhm. | 17:12:45 |
Mic92 (Old) | I think I will get a shell on this ci machine and see myself what is going on | 17:12:59 |
K900 | https://github.com/nix-community/nix-eval-jobs/blob/main/src/nix-eval-jobs.cc#L225 | 17:14:52 |
K900 | At a quick glance, there's definitely some not-entirely-correct path fuckery going on | 17:15:13 |
Mic92 (Old) | Okay. I have not wrote the code :) | 17:15:47 |