BUG: parametrized aspect no longer working
Hello,
I'm in the process of migrating my config to vic/den.
The pull request is at https://github.com/drupol/infra/pull/124.
From time to time, I update my system (host x1c) to get the latest nixpkgs update, but also to check if my upcoming branch is working correctly.
Yesterday, I tried to do that because I noticed new commits on vic/den project, I got this output in my terminal:
┏━ Dependency Graph:
┃ ┌─ ✔ boot.json
┃ │ ┌─ ✔ system_fish-completions
┃ │ │ ┌─ ✔ unit-dbus.service
┃ │ ├─ ✔ user-units
┃ │ │ ┌─ ✔ hm_plasmamanagerdatadesktop_script_wallpaper_picture.js
┃ │ │ ┌─ ✔ home-manager-files
┃ │ │ ┌─ ✔ home-manager-generation
┃ │ │ ┌─ ✔ unit-home-manager-pol.service
┃ │ │ ├─ ✔ unit-accounts-daemon.service
┃ │ │ │ ┌─ ✔ X-Restart-Triggers-polkit
┃ │ │ ├─ ✔ unit-polkit.service
┃ │ │ │ ┌─ ✔ system-path ⏱ 7s
┃ │ │ │ ┌─ ✔ dbus-1
┃ │ │ │ ┌─ ✔ X-Restart-Triggers-dbus
┃ │ │ ├─ ✔ unit-dbus.service
┃ │ ├─ ✔ system-units
┃ │ ┌─ ✔ etc
┃ ├─ ✔ activate
┃ ✔ nixos-system-x1c-26.05.20260409.4c1018d
┣━━━ Builds
┗━ ∑ ⏵ 0 │ ✔ 19 │ ⏸ 0 │ Finished at 11:21:53 after 31s
<<< /run/current-system
>>> /nix/store/v4wgfxyf6cih86ip4l8slnh2iydwwv2j-nixos-system-x1c-26.05.20260409.4c1018d
REMOVED
[R.] alsa-firmware 1.2.4-zstd
[R.] hwinfo 25.2, 25.2-lib
[R.] ipw2200-firmware 3.1-zstd
[R.] libreelec-dvb-firmware 1.5.0-zstd
[R.] libx86emu 3.7
[R.] linux-firmware 20260309-zstd
[R-] nixos-facter 0.4.3
[R.] rt5677-firmware 4.16-10-zstd
[R.] rtl8192su-firmware 0-unstable-2016-10-05-zstd
[R.] rtl8761b-firmware-rtk1395-zstd <none>
[R.] sof-firmware 2025.12.2-zstd
[R.] zd1211-firmware 1.5-zstd
SIZE: 20.9 GiB -> 20.1 GiB
DIFF: -786 MiB
As you can notice, it is trying to remove the stuff related to facter. They are defined in an aspect in: https://github.com/drupol/infra/blob/push-woqtkxkpstro/modules/facter/facter.nix
One may notice that there's a facterReportPath: argument to that aspect.
That aspect is called from the host aspect as such:
den.aspects.x1c = {
provides.to-users = {
includes = with den.aspects; [
base
(facter ./facter.json)
];
};
};
With tag v0.15.0, this has never caused any trouble. With the latest HEAD of main, this is no longer working.
I succeeded to made a reproducer here: https://gist.github.com/drupol/945217270aeee63cc3c4425118010572
Hope this will help.
Thanks in advance!
I'll take a look first thing tomorrow morning.
Thank you!