[Nix-dev] nix-build broken in nix-1.2

David Guibert david.guibert at gmail.com
Wed Dec 12 13:25:16 CET 2012


Hi,

I used to build derivations with nix-build and testing them via the
result directory.
But with the new nix 1.2, the derivations are no longer built.

For example, from the charon source directory
$ /nix/store/jbhg56ranx6ja63rw7ysld6nyw6hc8i4-nix-1.2/bin/nix-build
these derivations will be built:
  /nix/store/ck566vcf9c5kcrfml5cdrkar3hfm2fcs-prettytable-0.5.tar.gz.drv
  /nix/store/ilihq4mnnvn1xpk5b1y0v09mjkyxvjrm-charon-0.drv
  /nix/store/jsjrwn087nfr0nyzq7dxdy29bbpa479k-python-prettytable-0.5.drv
  /nix/store/p57j4p641cjrr9am09j5ib6pskf9habj-options-db.xml.drv
these paths will be fetched (0.73 MiB download, 5.19 MiB unpacked):
  /nix/store/5k3fxgiblyyxk76jasimdkxfm5pf9xmc-python-sqlite3-2.7.3
  /nix/store/xcnpiks5nwdym32kxjvqdy2xgbg3wf0c-python-boto-2.6.0
/nix/store/6jbc06xajrw5wp07z68gksbd60vfjsk8-charon-0
$

$ /nix/store/jbhg56ranx6ja63rw7ysld6nyw6hc8i4-nix-1.2/bin/nix-build -v -v -v -v
[...]
starting substituter program
`/nix/store/rg6lrzi018sw8m2zbypd7sshx5bmb4b1-nix-1.2pre2980_9de6bc5/libexec/nix/substituters/copy-from-other-stores.pl'
starting substituter program
`/nix/store/rg6lrzi018sw8m2zbypd7sshx5bmb4b1-nix-1.2pre2980_9de6bc5/libexec/nix/substituters/download-using-manifests.pl'
starting substituter program
`/nix/store/rg6lrzi018sw8m2zbypd7sshx5bmb4b1-nix-1.2pre2980_9de6bc5/libexec/nix/substituters/download-from-binary-cache.pl'
these derivations will be built:
  /nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv
  /nix/store/jsjrwn087nfr0nyzq7dxdy29bbpa479k-python-prettytable-0.5.drv
building `/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out'
|   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out':
created
|   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out': woken
up
|   entered goal loop
|   |   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out': init
|   |   acquiring global GC lock `/nix/var/nix/gc.lock'
|   |   acquiring read lock on `/nix/var/nix/temproots/25028'
|   |   acquiring write lock on `/nix/var/nix/temproots/25028'
|   |   downgrading to read lock on `/nix/var/nix/temproots/25028'
|   |   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out': trying
next substituter
|   |   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out': trying
next substituter
|   |   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out': trying
next substituter
|   |   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out': trying
next substituter
|   |   path `/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out'
is required, but there is no substituter that can build it
|   |   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out': done
|   substitution of
`/nix/store/i53h7bf1wyiywjmjynpfg394y7czzdfz-charon-0.drv!out': goal
destroyed
acquiring global GC lock `/nix/var/nix/gc.lock'
/nix/store/adklvcpwbvkla47qm2csxcl1kn9zsx6n-charon-0

I can't figure out what's wrong... thx for your help
-- 
Regard, David


More information about the nix-dev mailing list