Re: [Nix-dev] nixops: Deploying from macOS

2017-05-28 Thread Kirill Elagin
Nowadays it works without nix-daemon, so my guess is that there was indeed some kind of ssh keys complication, but now it is no longer there and the issue should probably be closed. As I understant it, it is a question of security. nix-daemon can use remote builders and it will add the results of

Re: [Nix-dev] nixops: Deploying from macOS

2017-05-28 Thread Wout Mertens
This issue is quite old and I haven't tried in a while :) back then, even without nix-daemon it didn't work. BTW, why not let nix-daemon read the configuration from /etc so that it can change at runtime? On Sun, May 28, 2017, 8:13 AM Kirill Elagin wrote: > I still can’t

Re: [Nix-dev] nixops: Deploying from macOS

2017-05-28 Thread Kirill Elagin
I still can’t make sense of the troubles you were experiencing. As far as I understand it, if one has configured nix-daemon, then there is basically no way to use `NIX_REMOTE_SYSTEMS` from nixops and one has to configure nix-daemon by setting `NIX_REMOTE_SYSTEMS` in its environment. After reading

Re: [Nix-dev] nixops: Deploying from macOS

2017-05-27 Thread Kirill Elagin
On Sun, May 28, 2017 at 1:48 AM Daiderd Jordan wrote: > 1. Things like writeText use the stdenv so the inputs differ depending on > the platform, resulting in a different output. Even tho the resulting files > would be identical. > Would it be feasible to make sure that

Re: [Nix-dev] nixops: Deploying from macOS

2017-05-27 Thread Daiderd Jordan
1. Things like writeText use the stdenv so the inputs differ depending on the platform, resulting in a different output. Even tho the resulting files would be identical. 2. Yes, if the nix-daemon is used the NIX_BUILD_HOOK and NIX_REMOTE_SYSTEMS will be determined by the daemon process. This

Re: [Nix-dev] nixops: Deploying from macOS

2017-05-27 Thread Wout Mertens
The problem is probably ssh-ing into the VM it should be using for building. This probably fails due to not having the correct environment, and then it silently decides building on OSX. On Fri, May 26, 2017, 12:39 PM Kirill Elagin wrote: > Hi, > > I have finally switched my

[Nix-dev] nixops: Deploying from macOS

2017-05-26 Thread Kirill Elagin
Hi, I have finally switched my laptop to using nix-daemon and got bitten by https://github.com/NixOS/nixops/issues/260 (and/or https://github.com/NixOS/nixops/issues/483). To be honest, I am completely lost. Could someone please explain to me what is going on here? 1. The error that I get is