| 8 Sep 2023 |
@piegames:matrix.org | Update scripts should already be invariant to their location | 06:04:49 |
| Alesya Huzik joined the room. | 09:59:01 |
Artturin | When python...callPackage is is gotten rid of everything should be switched to pythonXXPackages instead of python.pkgs. https://github.com/NixOS/nixpkgs/issues/211340 | 10:44:48 |
figsoda | In reply to @infinisil:matrix.org Ah neat! Note that the folder structure should be treated as internal to Nixpkgs, there is no API guarantee that it will not change over time. Considering that, it would be great if we could figure out a proper API that Nixpkgs could expose for this. Maybe it should be as simple as pkgs.preferredDirectoryForPackage "foo" = ./pkgs/by-name/fo/foo just implemented the feature in nix-init, I think one thing that would help is if some constants and shard_for_package are exposed in a crate | 18:34:46 |
tomberek | infinisil: Amazing talk today. Very well done. Bravo! | 22:54:03 |
infinisil | Thanks! ☺️ | 22:55:26 |
infinisil | In reply to @figsoda:matrix.org just implemented the feature in nix-init, I think one thing that would help is if some constants and shard_for_package are exposed in a crate It is internal, but we could maybe just mark it as such. Can you open an issue or a PR to discuss this? | 22:59:40 |
figsoda | In reply to @infinisil:matrix.org It is internal, but we could maybe just mark it as such. Can you open an issue or a PR to discuss this? https://github.com/NixOS/nixpkgs/issues/254122 | 23:06:46 |
figsoda | not much more information aside from what was already said, but this would be a good place to aggregate the discussion | 23:07:27 |
infinisil | figsoda: Can you ping @nixpkgs-architecture/team in the issue so it's going to the teams notifications? That would be great :) | 23:12:53 |
infinisil | Updating it should work | 23:12:58 |