-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toplevel
build target missing
#441
Comments
I guess this is one that we could alias in the Mobile NixOS specific outputs. We couldn't continue relying on the untyped and unchecked |
Ah yes,
I think it's reasonable for folk to rely on the NixOS outputs (treating Mobile NixOS more as a library than a separate system). Embarrassingly, I still use |
Confirmed. As I can see, this builds me what looks like a profile generation. I am able to push it to the device (aslo a Pinephone) with
But then I see
In the end the system switches the profile but only for the current boot. Could you please drop me a hint how to make changes permanent without re-flashing? I assume there should be a way to add an item to the recovery menu, but how? |
You need to also |
Note that:
Is not related to the change not being permanent. This is a warning from the NixOS infra telling you it doesn't know how Mobile NixOS boots. This is not a problem, as Mobile NixOS detects generations when added to a profile like @zhaofengli shared. |
@samueldr @zhaofengli I confirm, this works, thanks! Adding new profile this way also updates the recovery menu. |
Prior to the pinned-nixpkgs changes in August, I used
build.toplevel
to build the root filesystem, which I then copied to my Pinephone via nix-copy-closure.Since the pinned-nixpkgs changes, this fails:
Is there a replacement for outputs.toplevel? I tried to find a suitable attribute via tab-completion, but did not find any:
rootfs
produced an img, not a directory suitable for ssh-copy-closure.The text was updated successfully, but these errors were encountered: