!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

353 Members
111 Servers

Load older messages


SenderMessageTime
30 Jun 2022
@qyliss:fairydust.spaceAlyssa Rossa comment in pkgs/top-level/linux-packages.nix would do08:44:40
@qyliss:fairydust.spaceAlyssa Rossno08:44:47
@qyliss:fairydust.spaceAlyssa Rossthe RFC process 'is followed when one intends to make "substantial" changes to the Nix ecosystem.'08:45:00
@qyliss:fairydust.spaceAlyssa Rossthis isn't a substantial change. not accepting new vendor kernels is the status quo.08:45:11
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf you get a comment in via a PR, then I think that's basically the RFC.08:45:39
@dramforever:matrix.orgdramforeverI think the policy is that until the RFC exists and is adopted, committers just use their discretion?08:45:48
@linus:schreibt.jetztLinux Hackerman
In reply to @matthewcroughan:defenestrate.it
So there already exists written somewhere, something that explains that we shouldn't add vendor kernels to nixpkgs?
Well, this chat for instance :)
08:46:04
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howSo maybe this visionfive PR can be the opportunity to get the comment in 08:46:10
@linus:schreibt.jetztLinux Hackermanit's been discussed previously as well08:46:13
@linus:schreibt.jetztLinux HackermanI agree that we should have more formal documentation on the subject08:46:24
@linus:schreibt.jetztLinux HackermanI disagree that we should make things worse just because there isn't formal documentation on the subject.08:46:41
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI don't think it's too bad though.08:47:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how"worse" in this case is just suboptimal, since we already do it for the pi.08:47:14
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howless than perfect :D 08:47:28
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howputting it in nixos-hardware would be perfect, I guess.08:47:52
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howBut nixos-hardware is definitely not something that is very active. We'd need to invest in that.08:48:38
@dramforever:matrix.orgdramforever I guess I should clarify that the thing I worry about most is not just linux_visionfive but all the other things in the PR 08:48:47
@dramforever:matrix.orgdramforever there's a lot of vendor specific stuff going on 08:48:56
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIs nixos-hardware itself, very maintainable?08:49:33
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howeven if it's the right concept, and right place to put things, is it very good itself? I don't know if it is.08:49:45
@qyliss:fairydust.spaceAlyssa Rossit could probably use some love08:49:59
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howThose layered imports seem wrong to me, is there a better way to do it?08:50:14
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how the chain of imports = [ ../../foo ] and then ../../foo does imports = [ ./foo/foo ] and then ./foo/foo imports ../foo 08:50:47
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * the chain of imports = [ ../../foo ] and then ../../foo does imports = [ ./foo/foo ] and then ./foo/foo imports = ../foo 08:50:58
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * the chain of imports = [ ../../foo ] and then ../../foo does imports = [ ./foo/foo ] and then ./foo/foo imports = [ ../foo ] 08:51:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI mean, I do that in my own configs. But my own configs are not as complex as what is in nixos-hardware 08:51:31
@qyliss:fairydust.spaceAlyssa Rosshttps://github.com/NixOS/nixpkgs/pull/17968608:51:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @qyliss:fairydust.space
https://github.com/NixOS/nixpkgs/pull/179686
Awesome that there's already an example in nixos-hardware which you've linked to.
08:52:33
@qyliss:fairydust.spaceAlyssa Ross:)08:53:04
@matthewcroughan:defenestrate.itmatthewcroughan - nix.hownixos-hardware is comparable to a "bsp" in Yocto terminology. A "board support package" if anyone has ever used or dabbled with it.08:53:56

Show newer messages


Back to Room ListRoom Version: 6