While building the nix package I get the following error:
gonsolo nixpkgs:nix build .#magic-vlsi
error: Cannot build '/nix/store/hg91v7gd3xx7fq9z831xhaq8ylr4k84q-magic-vlsi-8.3.593.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/fa3xr6gxxghn33246d8987mbvss7zfv7-magic-vlsi-8.3.593
Last 25 log lines:
> 213 | sprintf(buf, "%ld:%02ld.%ld %ld:%02ld.%ld",
> | ^~~~~
> runstats.c:213:18: note: directive argument in the range [-9223372036854775808, 59]
> 213 | sprintf(buf, "%ld:%02ld.%ld %ld:%02ld.%ld",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> runstats.c:213:18: note: directive argument in the range [-92233720368547, 9]
> In file included from /nix/store/rwalsamz4246k8f1zzxa54qx7w3fbzdg-glibc-2.42-47-dev/include/stdio.h:970,
> from runstats.c:30:
> In function 'sprintf',
> inlined from 'RunStatsRealTime' at runstats.c:213:5:
> /nix/store/rwalsamz4246k8f1zzxa54qx7w3fbzdg-glibc-2.42-47-dev/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 14 and 116 bytes into a destination of size 50
magic-vlsi: use finalAttrs
- Switch from recursive attribute set (rec) to finalAttrs pattern.
- Update src to reference finalAttrs.version for better overridability.
Chrome has an optional feature to introspect your QT theme and generate
a Chrome theme from it. It does this by [dynamically linking QT
(if present)](https://docs.google.com/document/d/1IO6NTtnJiEVps0WlUC_lDr1bBKO72zPNTe-4msoBYXk/edit?resourcekey=0-UbCM69FptaNMGX7JXGt-3Q).
A previous PR #375279 added basic support for this (by including `qt6`
as a derivation dependency), but it was broken. The title bar was
always cyan regardless of what theme you had chosen in KDE.
This PR adds `plasma-integration` to correctly deduce the user's chosen
theme. It also moves the current `qt6` dependency behind the new
`plasmaSupport` flag, ensuring that users who are not utilizing the QT
theme aren't pulling in QT inadvertently.
Only `google-chrome` is in scope for this PR (because it's what I use),
but others are welcome to copy it to fulfill #228751 for Chromium
derivatives.