[Nix-dev] nixops: argument list too long

nickbh nick.b.h.alt at gmail.com
Sun Jul 24 12:24:53 CEST 2016


Apparently that’s a OS error resulting from a size limit on command line args[0]. Were you able to find the cause? If not, what’s your 'nixops —version'? Does 'nixops info -d lenni’ show any clues? 

Nick

[0] http://stackoverflow.com/a/28965439/4386011
> On 22 Jul 2016, at 22:53, Eike <eike at eknet.org> wrote:
> 
> 
> Hello,
> 
> I start using nixops and want to deploy from one machine to
> another. Both have NixOS running. This is the nix file I feed to nixops
> create:
> 
>    {
>      network.description = "Lenni";
>      lenni =
>        { config, pkgs, ... }:
>        {
>          imports = [ ./configuration.nix ];
> 
>          deployment.targetEnv = "none";
>          deployment.targetHost = "192.168.1.72";
>        };
>    }
> 
> The configuration.nix is the same file I used with `nixos-rebuild`
> directly on the target machine.
> 
> When I run nixops deploy it builds the configuration and then quits with
> “[Errno 7] Argument list too long” error:
> 
>    $ nixops deploy -d lenni
>    building all machine configurations...
>    lenni> copying closure...
>    error: [Errno 7] Argument list too long
> 
> I'm not sure what I did wrong and could not find anything useful when
> searching the internet. Can someone help me out here?
> 
> Thanks and regards
> Eike
> 
> 
> -- 
> gpg: AD7AC35E
> finger print: 137F BB0B 1639 D25F DC5D E59C B412 C5F5 AD7A C35E
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list