Am 21.03.2017 um 16:47 schrieb stewart mackenzie:
> $ nix-garbage-collect then retry

This time I'm getting a new error:

| Fetching /tmp/nix-build-my-rustfmt-fetch.drv-0/rustfmt to 
/nix/store/7v30ck1i3c1l2j2g461ld3jaq3hvfg01-my-rustfmt-fetch
| Using rust registry from 
/nix/store/gv06zlhm4rnhi7j9s1sjj4njns3ca788-rustRegistry-2017-02-19-d822c58
| warning: custom registry support via the `registry.index` configuration is 
being removed, this functionality will not work in the future
|     Updating registry 
`file:///nix/store/gv06zlhm4rnhi7j9s1sjj4njns3ca788-rustRegistry-2017-02-19-d822c58`
|     Updating registry 
`file:///nix/store/gv06zlhm4rnhi7j9s1sjj4njns3ca788-rustRegistry-2017-02-19-d822c58`
|     Updating registry 
`file:///nix/store/gv06zlhm4rnhi7j9s1sjj4njns3ca788-rustRegistry-2017-02-19-d822c58`
|     Updating registry 
`file:///nix/store/gv06zlhm4rnhi7j9s1sjj4njns3ca788-rustRegistry-2017-02-19-d822c58`
|     Updating registry 
`file:///nix/store/gv06zlhm4rnhi7j9s1sjj4njns3ca788-rustRegistry-2017-02-19-d822c58`
|     Updating registry 
`file:///nix/store/gv06zlhm4rnhi7j9s1sjj4njns3ca788-rustRegistry-2017-02-19-d822c58`
| error: no matching package named `syntex_syntax` found (required by `rustfmt`)
| location searched: registry 
file:///nix/store/gv06zlhm4rnhi7j9s1sjj4njns3ca788-rustRegistry-2017-02-19-d822c58
| version required: = 0.58.1
| versions found: 0.58.0, 0.57.0, 0.56.2, ...
| builder for 
‘/nix/store/s23lbgjqvk36c0vgjxxxmg6d22n0jak8-my-rustfmt-fetch.drv’ failed with 
exit code 101
| cannot build derivation 
‘/nix/store/krzc387z5kcwzkyhn3g9vq557272y6na-my-rustfmt.drv’: 1 dependencies 
couldn't be built

Looks to me that the index is out of sync which the crates snapshot. I've 
inspected the buildRustPackage code but did not find the place where such a 
problem could originate from.

syntex_syntax 0.58.1 has been added to crates.io on 2017-02-19.

Needless to say that the nix expression using fetchFromGitHub still works and 
is yielding exactly the same output as last time, regardless of 
nix-collect-garbage or whatnot.

BR

Christian

-- 
Dipl-Inf. Christian Kauhaus <>< · [email protected] · +49 345 219401-0
Flying Circus Internet Operations GmbH · http://flyingcircus.io
Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
HR Stendal 21169 · Geschäftsführer: Christian Theune, Christian Zagrodnick

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to