-
-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Context
I’m trying to replace nixos-rebuild switch --target-host <TARGET> --build-host <TARGET>
with nh os switch --target-host <TARGET> --build-host <TARGET>
, the target and build host being the same.
Problem description
When I pass --build-host
to nh os switch
, I properly see that a --builder
parameter is passed to nix build
. However, it builds everything locally, and then copies the data to my target host, as if --build-host
was not passed.
Expected behaviour
When using nixos-rebuild switch
with --build-host
being the same as --target-host
, only the evaluation is performed locally. Everything else (downloading and building the derivation outputs) is done on the target, avoiding unnecessary network copies.
wonrax, songpola and culxttes
Metadata
Metadata
Assignees
Labels
No labels