feat(flake): substituters#13519
Conversation
|
Hello and thank you for making a PR to Hyprland! Please check the PR Guidelines and make sure your PR follows them. If your code can be tested, please always add tests. See more here. beep boop, I'm just a bot. A real human will review your PR soon. |
|
I'm generally against using The benefits would be minimal, as I don't think anyone runs hyprland with |
Yes this is true,
It would also hint for imperatively adding the keys to |
I've heard people complain about it ever since
Right, more visibility doesn't hurt. @NotAShelf thoughts? |
|
As I've previously written I'm not very fond of the |
|
#13519 (comment) from @NotAShelf :
Do you have something written somewhere about that? The official binary cache of hyprland has been Cachix for as much as I can remember I think
I would tend to agree, but having an official binary cache itself be set in the upstream flake and enabled at the same time as adding the flake input instead of having to duplicate it elsewhere in downstream's nix configs is arguably a small QoL enhancement |
No, I haven't written about it yet but not a while ago the CEO of Cachix (or whatever his official position is) has abused his committer privileges on Nixpkgs to discard a change that inconveniences his company. This tells me a lot about where the interests of a particular entity lies, and as such, I trust it untrusted. For the scope of something as potentially dangerous as I also don't quite see the benefit of taking this risk. It's too small of a QoL improvement; most users that will end up developing Hyprland on NixOS will already have the Cachix added to their system substituters, so this makes so very little sense to me. That said, I don't have a concrete stance against it. If there's agreement that it is worth the risk then go ahead. |
|
#13519 (comment) from @NotAShelf :
Wouldn't it also benefits all users of hyprland importing it using a flake input in their nixos configuration? |
|
No, that is not how |
Describe your PR, what does it fix/add?
feature native substituters suggestion / hint to
flake.nixThis will also be shown in
flake.niximporting this flakeIs there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
No
Is it ready for merging, or does it need work?
Yes
References