[Nix-dev] nixops - cannot import archive

Malcolm Matalka mmatalka at gmail.com
Sun May 19 22:52:58 CEST 2013


To follow up on this:

The solution was to setup signing.  So adding a pub/priv keys on remote
builder and host machine.

Thanks to the awesome people in #nixos for helping me solve this.

I'll write something up once I have the rest of the setup figured out
for using nixops on OS X.

/M

Malcolm Matalka <mmatalka at gmail.com> writes:

> Hello!
>
> With the help of #nixos, I'm trying to get nixops working on OS X using
> another NixOS VM as a build server.
>
> I've managed to get up to this error:
> webserver> error: imported archive of
> `/nix/store/g8qw4m0a0srfv478scwakdbfvz4kp3rx-builder.sh' lacks a
> signature
>
> The entire error output is below.
>
> I am attempting to build the webserver example in the nixops manual,
> except I am just building the vbox file.
>
> Let me know if you need any more information, thanks!
>
> /Malcolm
>
>
> Total output:
> webserver> creating disk ‘disk1’...
> webserver> these derivations will be built:
> webserver>
> /nix/store/26yl29hrq8z3vr9qhkw3sknd37g7cpya-virtualbox-nixops-0.2pre4657_af0e751-e7b1dfd.vdi.drv
> webserver>
> /nix/store/a6qip8famlyc5y8lw8mkgcpqw3j35f4g-mirrors-list.drv
> webserver>
> /nix/store/gc7k9pg9l91j91bwp63h1icwsdq6478q-virtualbox-nixops-0.2pre4657_af0e751-e7b1dfd.vdi.xz.drv
> webserver> building
> `/nix/store/a6qip8famlyc5y8lw8mkgcpqw3j35f4g-mirrors-list.drv' on
> `foo-bar-01.internal.machines'
> webserver> copying 133 missing paths to
> ‘foo-bar-01.internal.machines’...
> webserver> importing path
> `/nix/store/g8qw4m0a0srfv478scwakdbfvz4kp3rx-builder.sh'
> webserver> error: imported archive of
> `/nix/store/g8qw4m0a0srfv478scwakdbfvz4kp3rx-builder.sh' lacks a
> signature
> webserver> writing to file: Broken pipe at
> /nix/store/gj1i12k1kisgxcs421szyybivmz5k8s5-nix-1.5.2/lib/perl5/site_perl/5.16.2/darwin-2level/Nix/CopyClosure.pm
> line 50.
> webserver> builder for
> `/nix/store/a6qip8famlyc5y8lw8mkgcpqw3j35f4g-mirrors-list.drv' failed
> with exit code 32
> webserver> cannot build derivation
> `/nix/store/gc7k9pg9l91j91bwp63h1icwsdq6478q-virtualbox-nixops-0.2pre4657_af0e751-e7b1dfd.vdi.xz.drv':
> 1 dependencies couldn't be built
> webserver> cannot build derivation
> `/nix/store/26yl29hrq8z3vr9qhkw3sknd37g7cpya-virtualbox-nixops-0.2pre4657_af0e751-e7b1dfd.vdi.drv':
> 1 dependencies couldn't be built
> webserver> error: build of
> `/nix/store/26yl29hrq8z3vr9qhkw3sknd37g7cpya-virtualbox-nixops-0.2pre4657_af0e751-e7b1dfd.vdi.drv'
> failed
> error: command ‘['nix-build', '-I',
> 'nixops=/nix/store/myh66cn7mizlgmj1dsws44jhcp3brhlc-nixops-0/share/nix/nixops',
> '--arg', 'networkExprs', u'[
> /Users/mmatalka/projects/nixops-exprs/trivial-vbox.nix ]', '--arg',
> 'args', '{ }', '--argstr', 'uuid',
> u'3d600a26-bf07-11e2-b81f-705681aecd03', '--show-trace',
> '<nixops/eval-machine-info.nix>', '--arg', 'checkConfigurationOptions',
> 'false', '-A',
> 'nodes.webserver.config.deployment.virtualbox.disks.disk1.baseImage',
> '-o',
> '/var/folders/51/xjkd97zd0y7cp0rss8kbqnww0000gn/T/nixops-tmpCH2zuz/vbox-image-webserver']’
> failed on machine ‘webserver’


More information about the nix-dev mailing list