!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

354 Members
111 Servers

Load older messages


SenderMessageTime
30 Jun 2022
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @dramforever:matrix.org
there could be a visionfive.nix module that adds things like config.system.build.flashBootloader
And that could be added to the linux_visionfive pr right?
08:25:34
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI suppose I'll work on that, and add it to nixpkgs when done 08:25:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howbut that requires merging https://github.com/NixOS/nixpkgs/pull/16882608:26:01
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI would really rather see it merged now, since it works so well 08:26:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI could make the argument that it should be merged now, so that work like this can be done on top of this PR, but what do you think?08:26:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf we don't merge it, it just gets stale, and work cannot be done. The PR works fine.08:27:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIf it were merged now, I'd work on adding wifi, and then the flashBootloader script, in my own PR.08:27:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIt is a real question whether stuff like this is best placed in nixpkgs itself, or in a flake these days though.08:29:36
@qyliss:fairydust.spaceAlyssa RossI think at least some of it belongs in nixos-hardware08:30:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how It means that the visionfive would be unique in having that flashBootloader script, which handles a lot for the user 08:30:40
@dramforever:matrix.orgdramforeverI think it brings in a bit too much random stuff. There's a master version of OpenSBI, a fork of U-Boot by NickCao, StarFive's entire fork of Linux08:31:07
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howthat'll settle though, so it won't be a problem08:31:26
@dramforever:matrix.orgdramforeverI think it's best to just start working on stuff in a flake08:31:52
@fufexan:matrix.orgfufexanthe kernel is fine in nixpkgs imo, as that's where people expect to find kernels08:32:37
@fufexan:matrix.orgfufexanbut the rest could be developed in a flake08:32:44
@fufexan:matrix.orgfufexanit's much easier to move fast in a flake than in nixpkgs08:32:55
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howvendor kernels being in nixpkgs does sound weird though if you think about it08:33:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.hownixos-hardware wants to be a collection of nix code that you import to circumvent hardware quirks08:33:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howrequiring a vendor kernel (custom kernel supplied by weirdos that continue to make the ecosystem more broken) is a hardware quirk08:33:47
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howso it would make sense to start polluting nixos-hardware, rather than nixpkgs, with that stuff 08:34:25
@dramforever:matrix.orgdramforeverI'm not sure how StarFive feels about upstreaming random stuff. They already upstreamed their GPIO/clock/reset drivers to mainline, but it seems that they updated it in their fork and added more stuff08:34:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
In reply to @dramforever:matrix.org
I'm not sure how StarFive feels about upstreaming random stuff. They already upstreamed their GPIO/clock/reset drivers to mainline, but it seems that they updated it in their fork and added more stuff
It's probably more of a case of visionfive being in rapid development
08:34:53
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howso it'll probably settle08:34:58
@dramforever:matrix.orgdramforeverIt might be a good idea to check out exactly what StarFive did with their linux fork08:35:03
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how Alyssa Ross: can we put it in nixos-hardware, then fetch it in nixpkgs? 08:35:32
@qyliss:fairydust.spaceAlyssa RossNo, that would be IFD08:35:48
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howwhat we actually want to express is "Here's a vendor kernel that we need to use for now"08:35:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howbecause otherwise, this PR will take a year to merge, as the work is upstreamed to linux proper 08:36:07
@qyliss:fairydust.spaceAlyssa RossYeah, that's what nixos-hardware is for.08:36:09
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howRight, but that's not what we want to express to the user.08:36:23

Show newer messages


Back to Room ListRoom Version: 6