deploy-rs
deploy-rs copied to clipboard
error: serialised integer n is too large for type 'j'
Log output:
> RUST_LOG=trace deploy -s -i --dry-activate .#meeksorkim2
đ â [deploy] [DEBUG] Checking for flake support
đ âšī¸ [deploy] [INFO] Evaluating flake in .
đ đī¸ [deploy] [TRACE] registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
đ đī¸ [deploy] [TRACE] deregistering event source from poller
đ âšī¸ [deploy] [INFO] The following profiles are going to be deployed:
[meeksorkim2.system]
user = "root"
ssh_user = "deploy"
path = "/nix/store/p6i5vrg6n963pfy5d10fwv362n092161-activatable-nixos-system-meeksorkim2-22.05.20211221.1dd151f"
hostname = "meeksorkim2"
ssh_opts = []
đ âšī¸ [deploy] [INFO] Are you sure you want to deploy these profiles?
> y
đ â [deploy] [DEBUG] Finding the deriver of store path for /nix/store/p6i5vrg6n963pfy5d10fwv362n092161-activatable-nixos-system-meeksorkim2-22.05.20211221.1dd151f
đ đī¸ [deploy] [TRACE] registering event source with poller: token=Token(16777217), interests=READABLE | WRITABLE
đ đī¸ [deploy] [TRACE] registering event source with poller: token=Token(2), interests=READABLE | WRITABLE
đ đī¸ [deploy] [TRACE] deregistering event source from poller
đ đī¸ [deploy] [TRACE] deregistering event source from poller
đ âšī¸ [deploy] [INFO] Building profile `system` for node `meeksorkim2`
đ âšī¸ [deploy] [INFO] Copying profile `system` to node `meeksorkim2`
error: serialised integer 7161674624452356180 is too large for type 'j'
đ â [deploy] [ERROR] Failed to push profile: Nix copy command resulted in a bad exit code: Some(1)
Flake: https://github.com/mikroskeem/home/tree/deploy
My wild guess would be that doing deploy to the same machine breaks things badly, but I'm not sure if that's the case really.
Sounds like a big in nix copy
Seems like this issue is thrown by readInt
from src/libutil/serialise.hh
(readInt -> readNum
Doesn't seem to appear anymore.