You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to set remote builds manually, i.e., on a per build basis because my decision process to buiid remotely is too complex to be described in nix.
I usually prefer to build locally except when I am on the move (on battery) or if I am already building stuff. It also depends on what I build etc. Also the state of my builders is erratic, one is often down or the other busy etc.
Basically I have configured 2 remote builders that appear in /etc/nix/machines.
Now I would like to refer to them by a name or their hostname and have nix pick the configuration from /etc/nix/machines instead of having to specify every parameter on the command line as explained in https://nixos.org/nix/manual/#chap-distributed-builds.
Like nix-build -A myPkg ~/nixpkgs --option builders 'toto'
with /etc/nix/machines as nix attributes ?
I would like to set remote builds manually, i.e., on a per build basis because my decision process to buiid remotely is too complex to be described in nix.
I usually prefer to build locally except when I am on the move (on battery) or if I am already building stuff. It also depends on what I build etc. Also the state of my builders is erratic, one is often down or the other busy etc.
Basically I have configured 2 remote builders that appear in /etc/nix/machines.
Now I would like to refer to them by a name or their hostname and have nix pick the configuration from /etc/nix/machines instead of having to specify every parameter on the command line as explained in https://nixos.org/nix/manual/#chap-distributed-builds.
Like
nix-build -A myPkg ~/nixpkgs --option builders 'toto'
with /etc/nix/machines as nix attributes ?
or just pass the nix attribute in the builder ?
The text was updated successfully, but these errors were encountered: