Skip to content

Failed to build profileΒ #369

@ignic

Description

@ignic

For the past few days, while using NixOS unstable, deploy-rs has stopped working for me, with the following error:

$ deploy -d --boot --skip-checks '.#sun'   
πŸš€ ❓ [deploy] [DEBUG] Checking for flake support
πŸš€ ℹ️ [deploy] [INFO] Evaluating flake in .
warning: Git tree '/home/ignic/projects/ignix' has uncommitted changes
warning: Using 'builtins.derivation' to create a derivation named 'options.json' that references the store path '/nix/store/dj9rm8vy5k06wsy0793xa5q9whlf1rv5-source' without a proper context. The resulting derivation will not have a correct store reference, so this is unreliable and may stop working in the future.
πŸš€ ℹ️ [deploy] [INFO] The following profiles are going to be deployed:
[sun.system]
user = "root"
ssh_user = "ignic"
path = "/nix/store/p6kfdcrp67l74ypv3iapc0gbrd1bwqm7-activatable-nixos-system-sun-26.05.20260328.8110df5"
hostname = "sun"
ssh_opts = []

πŸš€ ❓ [deploy] [DEBUG] Finding the deriver of store path for /nix/store/p6kfdcrp67l74ypv3iapc0gbrd1bwqm7-activatable-nixos-system-sun-26.05.20260328.8110df5
πŸš€ ❌ [deploy] [ERROR] Failed to build profile on node sun: sun

remoteBuild is set to false, although it doesn't work when set to true either.

The very same flake works directly on the node with sudo nixos-rebuild switch --flake ".#sun"

For reference, this is the version of Nix I'm using:

$ nix --version
nix (Determinate Nix 3.17.2) 2.33.3

Besides the "-d" option, is there any way I can debug the root of the problem?

Thank you!

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