| 3 Aug 2025 |
hexa | can you add incus to the room name btw | 23:36:37 |
| adamcstephens changed the room name to "NixOS Incus and LXC" from "NixOS LXC". | 23:37:17 |
adamcstephens | i added the nix-community cache recently to my CI save some time, but not sure it's saving much. I build all nixosConfigurations in CI and push them to my local cache though, so once the CI job is done everything is speedy internally | 23:38:24 |
adamcstephens | it can take an hour or more to do a large bump, including building and copying things around | 23:38:53 |
hexa | yeah, I tend to push things to my attic as well from ci | 23:41:29 |
hexa | I'm wondering if I outsmarted myself | 23:41:48 |
hexa | by using nix-fast-build | 23:42:03 |
hexa | https://github.com/Mic92/nix-fast-build#avoiding-redundant-package-downloads | 23:42:26 |
hexa | should probably disable skipping cached stuff | 23:42:34 |
hexa | wait, I don't have this flag set … so 🤷 | 23:43:17 |
hexa | - name: Build system closure
run: |
nix run \
--inputs-from . \
nixpkgs#nix-fast-build \
-- \
--eval-workers 4 \
--attic-cache "${{ secrets.ATTIC_CACHE }}" \
--no-nom \
--flake ".#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel"
| 23:43:39 |
| 4 Aug 2025 |
adamcstephens | skipping cached configs should save time, no? | 02:23:42 |
hexa | right | 02:23:57 |
hexa | but I found an issue with nix-fast-build | 02:24:05 |
hexa | I build this in a matrix and the first build works, all others don't | 02:24:17 |
hexa | |