[Nix-dev] Network problems

Marco Maggesi marco.maggesi at gmail.com
Mon Mar 25 12:26:56 CET 2013


Hi,

on OSX I keep getting strange problems when downloading binary substitutes.
Usually I have to rerun several time the same command until it succeeds.
E.g.,

$ nix-build -I nixpkgs=~/Devel/nixpkgs
fetching path `/nix/store/zy27vsm8q6pqjb8pipfhimq3k891lj2v-diffutils-3.2'...

*** Downloading
‘http://nixos.org/binary-cache/nar/14sg6fz38x5in70w2cjd5qnca83m4z1xa8cfpk4wpn6mhkw0rjaq.nar.bz2’
to ‘/nix/store/zy27vsm8q6pqjb8pipfhimq3k891lj2v-diffutils-3.2’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  201k  100  201k    0     0   309k      0 --:--:-- --:--:-- --:--:--  309k

fetching path `/nix/store/zy27vsm8q6pqjb8pipfhimq3k891lj2v-diffutils-3.2'
failed due to signal 11 (Segmentation fault)
error: some substitutes for the outputs of derivation
`/nix/store/mqjm1nxxa6f9lnmdinxapam0xdwcqj5r-stdenv.drv' failed; try
`--fallback'
(use `--show-trace' to show detailed location information)

It might be unrelated, but I often get other kinds of network errors
under nixos.  E.g., sometimes ping to github works but git is not able
to connect.  Often the connection resumes after a few seconds.

Does anybody encounter the same problem?

Thanks,
Marco


More information about the nix-dev mailing list