apu: reference wake via runtime path in the wake user key #22
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/apu-wake-ifd"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Embedding the wake store path in the wake user's authorized_keys file made eval of the apu toplevel require building the x86_64-only wake derivation via IFD (
pkgs.writeTextinterpolates the store path, and sshd's authorized_keys.d machineryreadFiles the key file during eval). On the aarch64 CI runner that build fails with "platform mismatch: Required system x86_64-linux, Current aarch64-linux", which is why the scheduledupdate-flake-lockruns on main fail (runs #86, #114, #236).Point the forced command at the runtime path instead —
wakeis already inenvironment.systemPackageson apu, so/run/current-system/sw/bin/wakeexists at runtime. Eval no longer forces the wake build.b03a16233036bb0d3fea36bb0d3fea5b6bfb7c02View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.