Skip to content

checks don't run on remoteBuild when deploying to a different architecture #337

@aristaeus

Description

@aristaeus

I'm deploying from aarch64-darwin to x86_64-linux. When I run deploy-rs with remoteBuild = True, build are done on the remote host and this works fine. However when I include the checks, as written in the readme, I get an error.

checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;

results in

error: a 'x86_64-linux' with features {} is required to build '/nix/store/s9188jlmmd8m66iz489w7bi4hl2jpik3-builder.pl.drv', but I am a 'aarch64-darwin' with features {benchmark, big-parallel, nixos-test}
🚀 ❌ [deploy] [ERROR] Failed to check deployment: Nix checking command resulted in a bad exit code: Some(1)

I can't find anyone else with this complaint so I assume it's user error, but I also can't find any documentation of what I'm doing wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions