30 Apr 2024 |
John Ericson | rhelmot: err the freebsd13 -> freebsd is the first commit (I pulled out of ) that PR so I think merging it first would not slow things down | 15:04:45 |
John Ericson | if you saw the thing I pushed, I am very confused why going with the other otherSplices definition breaks things | 15:05:11 |
rhelmot | I SEE OOPS | 15:06:29 |
rhelmot | yes that should probably be addressed asap | 15:06:41 |
rhelmot | In reply to @artemist:mildlyfunctional.gay Does nix currently include freebsd version number in system by default? I tried building upstream and it doesn't seem to include the version Did you build with flake.nix or ./configure && make? | 15:34:15 |
John Ericson | I would not really worry about what nix itself does? | 15:36:10 |
John Ericson | we can just change it to be whatever you all think is correct | 15:36:26 |
rhelmot | fair | 15:36:40 |
rhelmot | the problem is that the version of nixpkgs that flake.nix is pinned to matters. if I add freebsd to cross systems it pulls in a version without the version number-less code and complains error: Unknown kernel: freebsd | 15:37:36 |
rhelmot | is there a nix policy of which nixpkgs version projects get pinned to? | 15:37:48 |
John Ericson | rhelmot: it is generally the last stable version | 15:38:32 |
John Ericson | and in fact freeebsd cross was unfortunately removed cause it is broken on that version | 15:38:46 |
John Ericson | soon 25.05 will be out | 15:38:50 |
John Ericson | * soon 24.05 will be out | 15:38:55 |
John Ericson | so I would just focus on making things how we want for that, and then Nix will be bumped accordingly | 15:39:10 |
John Ericson | Also with https://github.com/NixOS/nixpkgs/pull/308012 master freebsd does build again | 15:39:42 |
John Ericson | fwiw | 15:39:44 |
rhelmot | alright, in that case I'll just pr my very minimal changes to the autotools stuff which makes it pick the right version number when you ./configure | 15:41:56 |
rhelmot | * alright, in that case I'll just pr my very minimal changes to the autotools stuff which makes it pick the right version number (that is, none) when you ./configure | 15:42:04 |
rhelmot | I have them on my branch which was meant to be submitted to the freebsd ports tree, but it seems someone beat me to that one :) | 15:42:24 |
John Ericson | for native builds? | 15:42:30 |
rhelmot | mhm | 15:42:44 |
John Ericson | (for cross builds, configure will just be told what to do) | 15:42:53 |
John Ericson | OK | 15:43:00 |
rhelmot | indeed | 15:43:06 |
rhelmot | I think that was what artemis was running into | 15:43:12 |
rhelmot | nixpkgs and/or flake.nix will simply tell configure the exact system to use | 15:43:26 |
John Ericson | I opened https://github.com/NixOS/nixpkgs/pull/308032 | 15:48:16 |