!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

330 Members
105 Servers

Load older messages


SenderMessageTime
30 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @qyliss:fairydust.space
you could provide a flake that works!
I mean, that is fair enough. But it's definitely more complex code, and it's more to think about, and less abstracted by nixpkgs.
08:38:34
@linus:schreibt.jetztLinux HackermanWhat's so special about the kernel that it can only come from nixpkgs?08:38:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @linus:schreibt.jetzt
What's so special about the kernel that it can only come from nixpkgs?
Nothing. It's just better without the policy, from the perspective of someone using the code.
08:39:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf you just forget nixpkgs policy for a moment, and think about the user, this is a superior setup as is.08:39:16
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howBut, introducing the nixos-hardware separation, means that the user now has to add more inputs and a library called nixos-hardware.08:39:47
@qyliss:fairydust.spaceAlyssa Rossit's a superior setup for a little bit until kernels in nixpkgs become an unmaintainable mess due to hundreds of vendor kernels :P08:39:57
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howThat's fair enough, and it only looks pretty now because it's the first such case.08:40:10
@linus:schreibt.jetztLinux Hackermanyeah, and likewise for images08:40:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howOr is it the first such case? Are there not already a few cases like this in Nixpkgs?08:40:50
@qyliss:fairydust.spaceAlyssa Rosswe do have a few vendor kernels currently in nixpkgs, but only for historical reasons08:40:55
@qyliss:fairydust.spaceAlyssa Rossthe raspberry pi ones for example08:41:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf there are a few cases like this in Nixpkgs, I'd rather merge this, then make an RFC to move things to nixos-hardware.08:41:06
@qyliss:fairydust.spaceAlyssa Rossthat experience has taught us that accepting more is a bad idea08:41:22
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howRight, but do you see how this makes a uniquely bad setup for the visionfive, whereas there is a good one for the pi?08:41:40
@qyliss:fairydust.spaceAlyssa Rossno, it's a uniquely good setup for the pi08:41:52
@qyliss:fairydust.spaceAlyssa Rossvisionfive is on the same playing field as everything else08:42:03
@linus:schreibt.jetztLinux Hackermanpi and good, lol08:42:15
@qyliss:fairydust.spaceAlyssa Ross i would like to stop the pi having a privileged position, but the solution to that is not to add to the problem 08:42:21
@dramforever:matrix.orgdramforever I think the message should be that VisionFive isn't a very supported board in nixpkgs because it requires way too many vendor-specific tweaks 08:42:59
@dramforever:matrix.orgdramforeverNot that we should make it very supported08:43:10
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI think this problem is big enough for an RFC, and to add to the problem until the total problem has been resolved, but this is semantic since I can continue to have my flake provide a working image no matter what the separation is 08:43:10
@linus:schreibt.jetztLinux Hackermanhuh, there's also a hardkernel kernel... which was last updated in 202008:43:19
@linus:schreibt.jetztLinux HackermanMaybe we should throw that out.08:43:26
@qyliss:fairydust.spaceAlyssa Rossthe more we add to the problem, the harder it is to resolve08:43:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howThe policy of nixpkgs needs to change, because there is no policy that states we shouldn't have vendor kernels.08:43:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howBut this is now just ad-hoc policy that we're making up, so technically that needs an RFC doesn't it?08:43:55
@qyliss:fairydust.spaceAlyssa Rossno08:44:01
@dramforever:matrix.orgdramforever

Especially considering that VisionFive either

  • Eventually upstreams its stuff, or
  • Just disappears into oblivion because JH7110 came out
08:44:06
@dramforever:matrix.orgdramforeverand/or, really08:44:20
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howSo there already exists written somewhere, something that explains that we shouldn't add vendor kernels to nixpkgs?08:44:24

There are no newer messages yet.


Back to Room ListRoom Version: 6