| 22 Nov 2021 |
alexfmpe | "eventually cross compiling" it is | 18:15:10 |
| smbarber left the room. | 20:14:08 |
| 23 Nov 2021 |
| Server Stats Discoverer (traveler bot) left the room. | 00:55:08 |
| Pierre-Olivier Rey joined the room. | 12:51:45 |
Pierre-Olivier Rey | Hello, I'm just beginning with nix for a school project and I have i'm trouble to have a devShell with clang able to compile with -m32 (we generate code using llvm backend) ; do you know how to do it in a flake?
Sorry if the question seems a bit odd :') | 12:54:05 |
symphorien | you should probably use pkgs.pkgsi686Linux.clangStdenv | 12:54:53 |
symphorien | see this for more context about using a different stdenv: https://nixos.wiki/wiki/Using_Clang_instead_of_GCC#With_nix-shell | 12:55:15 |
Alyssa Ross | sternenseemann: there's nothing left to do on https://github.com/NixOS/nixpkgs/pull/144749, right? | 20:11:35 |
sterni | Alyssa Ross: at least nothing that's obvious to me! | 21:08:15 |
Alyssa Ross | sternenseemann: do you think it's good to merge? | 21:09:21 |
sterni | I'm inclined to think so, yeah. If the hot path of normal dynamic stdenv still works, this should be a net improvement | 21:22:03 |
sterni | given that this worked without the search path before I guess it's not super risky | 21:22:16 |
sterni | do you think darwin has a freak chance of causing trouble? | 21:22:29 |
sterni | as a side note, I'm interested to see whether this resolves the trouble I ran into for https://github.com/NixOS/nixpkgs/pull/140271 with static test compilation | 21:22:58 |
Alyssa Ross | I dunno, I don't really have any instinct for Darwin | 21:23:57 |
Alyssa Ross | I have a whole bunch of invasive static fixes on https://spectrum-os.org/git/nixpkgs/log/?h=rootfs if you want to play with that | 21:24:57 |
sterni | Alyssa Ross: intrigued by src = builtins.fetchGit /home/src/foot | 21:28:18 |
sterni | at least this means dnkl broke something and not me | 21:28:47 |
Alyssa Ross | sternenseemann: I'm actually adding a feature there | 22:11:41 |
Alyssa Ross | opening a terminal for an existing pty | 22:11:58 |
Alyssa Ross | (useful for VM consoles) | 22:12:02 |
sterni | oh, I see, neat | 22:12:15 |
Alyssa Ross | not sure if upstream will be interested, but I don't mind if not | 22:13:47 |
Alyssa Ross | I just needed something that could do it, and foot's code looked nice to hack on | 22:14:01 |
Alyssa Ross | Redacted or Malformed Event | 22:15:34 |
Alyssa Ross | sternenseemann: although while I have you I am curious, doesn't pgo mean non-reproducibility? | 22:15:47 |
sterni | Alyssa Ross: it does not actually and it is a common misconception I have discovered | 22:16:08 |
sterni | PGO profiling data only is like code path analysis, so if the analyzed code is deterministic and you feed it the same input every time it'll come up with the same profiling data | 22:16:55 |
sterni | it is also not machine dependent as far as I can tell (not sure if instruction sets are relevant though?) | 22:17:22 |
sterni | for foot PGO I made a patch which allowed seeding the input data generation with a fixed start value | 22:17:48 |