Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails with nix 1.12 #11

Open
chris-martin opened this issue Jan 25, 2018 · 4 comments
Open

Fails with nix 1.12 #11

chris-martin opened this issue Jan 25, 2018 · 4 comments

Comments

@chris-martin
Copy link

chris-martin commented Jan 25, 2018

Hey, heads up, nix-deploy doesn't seem to work with nix 1.12. I just installed nixUnstable and tried to run nix-deploy, and got this result:

[+] Downloading: /etc/nix/signing-key.sec
[+] Installing: /etc/nix/signing-key.sec
[+] Downloading: /etc/nix/signing-key.pub
[+] Installing: /etc/nix/signing-key.pub
[+] Installing system: /nix/store/nx3f93ll1dksdpypqik1rbrp013vclm2-nixos-system-tc-webserver1-18.03pre-git

error: invalid SSH host name '--sign'
nix-deploy: user error ([x] Failed transferring /nix/store/nx3f93ll1dksdpypqik1rbrp013vclm2-nixos-system-tc-webserver1-18.03pre-git to typeclasses.com

    1. /nix/store/nx3f93ll1dksdpypqik1rbrp013vclm2-nixos-system-tc-webserver1-18.03pre-git may not exist, make sure you built it with nix-build first
    2. Make sure you have an authorized key configured on typeclasses.com so that you can SSH

Original error was:

ProcFailed {procCommand = "nix-copy-closure", procArguments = ["--sign","--to","--gzip","typeclasses.com","/nix/store/nx3f93ll1dksdpypqik1rbrp013vclm2-nixos-system-tc-webserver1-18.03pre-git"], procExitCode = ExitFailure 1}
)

Seems like the command-line interface must be changing or something.

@ixmatus
Copy link
Collaborator

ixmatus commented Jan 25, 2018

Thanks for the issue ticket. I also think in nix 1.12 nix-copy-closure will handle key exchange too so we'll probably need to remove that behavior from the tool.

That's probably a good time to bump the minor version. I'll get to this soon since I'm also on unstable (but not on 1.12 yet).

@gilligan
Copy link

@ixmatus has anything happened in that regard? :)

@ixmatus
Copy link
Collaborator

ixmatus commented Jul 30, 2018

@gilligan no, I was busy over the weekend with some other higher-priority personal projects. I will probably get to this later this week if not this weekend (I want to fix it for myself too).

@tomberek
Copy link

A temp solution is to just add --noSign to your nix-deploy call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants