Skip to content

Nix tries remote builder when --offline #11385

Open
@roberth

Description

Describe the bug

nix build --offline does not substitute, but does contact remote builders, even if that's not necessary.

Steps To Reproduce

  1. Have a remote builder that can build the same things as the local builder (ie system/extra-platforms)
  2. nix build --offline
  3. Observe that Nix sends work to the remote builder

Expected behavior

Remote builders are ignored.

Ideally, local VMs are still used. Currently Nix does not know which builders remote builders are actually local.

nix-env --version output

2.25pre

Additional context

Priorities

Add 👍 to issues you find important.

Metadata

Assignees

No one assigned

    Labels

    bugremote buildThe SSH store, ssh:, ssh-ng:, ... (split from protocol label 2024-07)settingsSettings, global flags, nix.conf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions