!kyXJonZuBXCGzVwuSn:nixos.org

Systems Programming

298 Members
Kernel, stdenv, low-level hacking, patchelf, … 77 Servers

Load older messages


SenderMessageTime
14 Feb 2022
@woobilicious:matrix.orgwoobiliciousimage.png
Download image.png
02:17:46
@woobilicious:matrix.orgwoobiliciousnevermind I found the issue.03:12:44
@woobilicious:matrix.orgwoobilicious Mic92: I got a decent dev environment running with nixos-shell:
https://gist.github.com/YellowOnion/627c1030d94318b7de07c95fea168dbd
03:27:30
@woobilicious:matrix.orgwoobilicious Zhaofeng Li: check out this^, I think it's a little easier to manage than what I had earlier 03:28:48
@mic92:nixos.devMic92 (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:nixos.devMic92 (Old)Maybe link this in the wiki or nixos-shell readme05:44:40
@woobilicious:matrix.orgwoobilicious Mic92: yeah testing bcachefs 06:08:33
@seb:the-apothecary.clubTseb joined the room.13:34:13
@m00wl:nixos.devm00wl joined the room.17:10:22
16 Feb 2022
@mic92:nixos.devMic92 (Old)Wtf is macos doing with TMPDIR!? https://github.com/nix-community/nix-eval-jobs/runs/5218725486?check_suite_focus=true17:09:12
@mic92:nixos.devMic92 (Old)That's one of my main issue when porting tests to macos...17:09:32
@mic92:nixos.devMic92 (Old)I think I will just point TMPDIR to something sane17:09:44
@k900:0upti.meK900Sounds like it might be missing a trailing slash? 17:10:07
@k900:0upti.meK900And something just concatenates it instead of doing the correct thing 17:10:24
@mic92:nixos.devMic92 (Old)yeah, but it works on Linux and I am using python's stdlib to get this tempdir17:10:26
@mic92:nixos.devMic92 (Old)and pathlib to compute paths17:10:41
@k900:0upti.meK900Wait17:11:05
@k900:0upti.meK900It's not the same tmpdir17:11:08
@k900:0upti.meK900The error and the command have different paths 17:11:23
@mic92:nixos.devMic92 (Old)Yeah...17:11:40
@mic92:nixos.devMic92 (Old)Maybe some symlink that gets resolved?17:11:50
@k900:0upti.meK900Looks like /tmp is a symlink to /private/tmp here 17:12:08
@k900:0upti.meK900So I guess Nix resolves it? 17:12:22
@k900:0upti.meK900Which means you found a real bug 17:12:38
@k900:0upti.meK900In Nix17:12:40
@mic92:nixos.devMic92 (Old)mhm.17:12:45
@mic92:nixos.devMic92 (Old)I think I will get a shell on this ci machine and see myself what is going on17:12:59
@k900:0upti.meK900https://github.com/nix-community/nix-eval-jobs/blob/main/src/nix-eval-jobs.cc#L22517:14:52
@k900:0upti.meK900At a quick glance, there's definitely some not-entirely-correct path fuckery going on17:15:13
@mic92:nixos.devMic92 (Old)Okay. I have not wrote the code :) 17:15:47

Show newer messages


Back to Room ListRoom Version: 6