Skip to content

deploy references system outside of the /nix/storeΒ #350

@onsails

Description

@onsails

Deploys suddenly started to fail with:

πŸš€ ℹ️ [deploy] [INFO] The following profiles are going to be deployed:
[mylab.system]
user = "root"
ssh_user = "me"
path = "/nix/store/f8ifqpnx3qbgqjvl0mxg93lwl3mpz785-activatable-nixos-system-mylab-25.11.20251031.a7fc11b"
hostname = "myhostname.net"
ssh_opts = []

πŸš€ ℹ️ [deploy] [INFO] Building profile `system` for node `mylab` on remote host
error: getting status of '/Users/me/dev/nix-config/6k8c1qvj710mrc62h1vzl3fgqpc6anw1-activatable-nixos-system-mylab-25.11.20251031.a7fc11b.drv': No such file or directory
πŸš€ ❌ [deploy] [ERROR] Failed to build profile on node mylab: mylab

For some reason it tries to reference a drv from ~/dev/nix-config/... rather than /nix/store.

❯ deploy --version
deploy-rs 1.0
❯ nix --version
nix (Determinate Nix 3.12.0) 2.32.1

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