!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

228 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture53 Servers

Load older messages


SenderMessageTime
15 Jan 2024
@infinisil:matrix.orginfinisilI'll rejoin when it's good again16:49:17
@Ericson2314:matrix.orgJohn Ericsonhttps://doc.rust-lang.org/std/macro.file.html17:04:48
@infinisil:matrix.orginfinisilTests now fixed, I'll merge once ofborg is happy!17:51:57
@rick:matrix.ciphernetics.nlRick (Mindavi)πŸ™ŒπŸΌπŸŽ‰πŸŽ‰17:52:32
16 Jan 2024
@infinisil:matrix.orginfinisilBad news, there's another problem with the PR, one that would break all CI runs when the channel updates in a couple days πŸ˜…17:07:24
@infinisil:matrix.orginfinisilWorking on both a fix but also future prevention of this, will follow up later17:08:13
@infinisil:matrix.orginfinisilhttps://github.com/NixOS/nixpkgs/pull/28137418:51:07
@infinisil:matrix.orginfinisilThis should be merged relatively quickly ^ I'll definitely merge this myself in like the next 6 hours to prevent master from breaking when the next nixos-unstable channel happens (well, the next next update, not the immediately next one)18:53:10
@infinisil:matrix.orginfinisilAnd here's the problem and fix: https://github.com/NixOS/nixpkgs/pull/281390 (this is not urgent)20:36:31
@infinisil:matrix.orginfinisil
In reply to @infinisil:matrix.org
https://github.com/NixOS/nixpkgs/pull/281374
Now merged, thanks for all the accepting eyes on it!
21:01:36
@infinisil:matrix.orginfinisil
In reply to @infinisil:matrix.org
And here's the problem and fix: https://github.com/NixOS/nixpkgs/pull/281390 (this is not urgent)
We don't need to rush this, but it's a small PR and it contains the fix without which we can't proceed to make pkgs/by-name required for new packages. Reviews appreciated :)
21:02:57
@philiptaron:matrix.orgPhilip Taron (UTC-8)
In reply to @infinisil:matrix.org
We don't need to rush this, but it's a small PR and it contains the fix without which we can't proceed to make pkgs/by-name required for new packages. Reviews appreciated :)
Done. Not much to say, other than a wonder about what approaches would have caught this earlier.
21:31:33
@infinisil:matrix.orginfinisil Philip Taron (UTC-8): At least the new test in the PR should prevent this in the future (though for it to trigger automatically we have to wait for ofborg eval to finish) 21:32:30
@infinisil:matrix.orginfinisilI opened some more follow-up work, I won't link everything here though, you can check out the RFC 140 milestone which I always keep up-to-date: https://github.com/NixOS/nixpkgs/milestone/2522:49:43
18 Jan 2024
@infinisil:matrix.orginfinisil Just opened https://github.com/NixOS/nixpkgs/pull/281835, this is the final follow-up (for now), which now actually starts enforcing pkgs/by-name! Very small PR due to all the preparatory work :) 17:57:29
22 Jan 2024
@Minijackson:matrix.orgMinijackson joined the room.17:19:11
@Minijackson:matrix.orgMinijackson hello everyone! I had a question related to the pkgs/by-name RFC. I have a "versioned" package netbox_3_6, netbox_3_5, and an alias netbox which points to the latest one. To remove duplication, we have a generic.nix file that is importable with arguments that differ from version to version. Is this something that I can implement inside pkgs/by-name? The checker is failing for my latest PR 17:22:48
@Minijackson:matrix.orgMinijackson Thanks for the answer, infinisil x) 17:25:08
@infinisil:matrix.orginfinisil Minijackson: Oh I just commented on your PR :) https://github.com/NixOS/nixpkgs/pull/282929#issuecomment-1904468118 17:25:10
@infinisil:matrix.orginfinisil

Three minor issues have come up with the enforcement of pkgs/by-name for new packages. The one above with netbox doesn't have a fix yet, but the other two do:

  • https://github.com/NixOS/nixpkgs/pull/282707
  • https://github.com/NixOS/nixpkgs/pull/283017
23:11:03
23 Jan 2024
@aliarokapis:matrix.orgAlexandros Liarokapis joined the room.08:36:56
@aliarokapis:matrix.orgAlexandros Liarokapis Hi all! I am not sure if this is the proper channel to ask. I have a large set of embedded-compatible cmake libraries which I define using stdenv.mkDerivation. I would like to use the gcc-arm-embedded package in order to create a custom stdenv instead of going through the gcc bootstrapping with crossSystem. For caching reasons but also because the resulting library/executable binaries are ~40% larger. Is there any easy way currently to convert such toolchains to valid stdenvs? 08:46:12
@aliarokapis:matrix.orgAlexandros LiarokapisLooking at the llvm stdenv it seems like a non-trivial process. I have also found a gist for using the zig toolchain as an stdenv: https://gist.github.com/Cloudef/acb74ff9e36ab41709479240596ab501 but I am not sure if the resulting stdenv takes into consideration everything. In general the process of creating stdenvs seems a bit ad-hoc but maybe it's just me being unfamiliar with the infra.08:49:35
@aliarokapis:matrix.orgAlexandros LiarokapisMy end goal is to have something like the current localSystem/crossSystem infra but being able to easily use other toolchains because bootstrapping gcc is non trivial and it is also hard to modify the configure flags through naive overlays. I /think/ this is possible now through using the replaceStdEnv in crossSystem but I am unsure.08:53:34
@aliarokapis:matrix.orgAlexandros Liarokapis* My end goal is to have something like the current localSystem/crossSystem infra but being able to easily use other toolchains because bootstrapping gcc is non trivial and it is also hard to modify the gcc toolchain configure flags through naive overlays. I /think/ this is possible now through using the replaceStdEnv in crossSystem but I am unsure.08:55:19
25 Jan 2024
@9999years:matrix.org9999yearscould i get a review on this PR? not sure what valentin's @ is on here https://github.com/NixOS/nixpkgs/pull/28059201:40:48
@raitobezarius:matrix.orgraitobezariusValentin is not here02:02:25
@raitobezarius:matrix.orgraitobezariusafaik02:02:25
@qyriad:matrix.org@qyriad:matrix.org joined the room.06:53:56
@Ericson2314:matrix.orgJohn Ericsonhttps://github.com/NixOS/nixpkgs/pull/279619 is this staging backport fail innocuous?23:52:23

Show newer messages


Back to Room ListRoom Version: 9