1 Jul 2025 |
Alyssa Ross | and I'm also now less certain than I was that they couldn't be unified | 15:16:51 |
emily | perfect time to hack on custom JSON targets for Nixpkgs | 15:17:01 |
Alyssa Ross | Oh yes please | 15:17:22 |
emily | no no I meant you | 15:17:40 |
dramforever | i just wanted to enable frame pointers for rust | 15:27:39 |
Alyssa Ross | you can do that though? | 15:28:33 |
Alyssa Ross | that's totally orthogonal to this | 15:28:36 |
dramforever | yes, i can do that, i meant that as more of a "and now i'm down this rabbit hole" | 15:29:27 |
Alyssa Ross | ah, right :) | 15:31:04 |
dramforever | especially if we're sure that r-h-f can just be broken sometimes | 15:31:44 |
dramforever | wait, if i drop the lib change in https://github.com/NixOS/nixpkgs/pull/420797, we're left with an eval error on rust-hypervisor-firmware | 15:33:53 |
dramforever | is that okay? | 15:33:55 |
Alyssa Ross | It's almost always broken | 15:33:57 |
Alyssa Ross | In fact it seems like it's already broken | 15:34:30 |
Alyssa Ross | So you're just changing which eval error it produces? | 15:34:40 |
dramforever | lol | 15:35:08 |
Alyssa Ross | Really I don't know why this package still exists | 15:35:22 |
Alyssa Ross | I wonder when it last evaluated | 15:35:30 |
dramforever | wait, but then everyone else using rust.platform is also broken | 15:35:41 |
Alyssa Ross | and always has been, or? | 15:35:55 |
dramforever | newly, unless i put the unsafeDiscardStringContext in | 15:36:17 |
Alyssa Ross | oh | 15:36:38 |
dramforever | oh then it's just broken but more subtly | 15:36:38 |
Alyssa Ross | broken how? | 15:36:43 |
emily | I really think it's a good idea to avoid those filenames including a derivation hash. | 15:37:22 |
emily | Nix just does not handle that well. | 15:37:27 |
emily | if we want to avoid people assuming it matches the triple, then add a tricked-you- prefix or something | 15:37:39 |
dramforever | can you do that in lib? | 15:37:56 |
Alyssa Ross | yeah that's the problem | 15:38:08 |
dramforever | okay it might not be broken for native comp | 15:38:49 |