The darwin build has been broken for a long time and I'm unable to
properly debug the issue.
What appears to be happening is that the symbol `HAVE_SANDBOX_INIT` ends
up being defined as 1 while `HAVE_SANDBOX_H` ends up being 0, resulting in
undefined reference errors when `sandbox_init()` is called (because
`<sandbox.h>` is not included first).
This is a regression from dnscrypt-proxy 1.6.0 to 1.6.1.
For context, sandbox.h is a deprecated OSX mechanism for sandboxing.
The build failure is at
https://hydra.nixos.org/build/32705849/nixlog/1/raw
This patch closesNixOS/nixpkgs#14064
Previously, the cisco resolver was used on the theory that it would
provide the best user experience regardless of location. The downsides
of cisco are 1) logging; 2) missing supoprt for DNS security extensions.
The new upstream resolver is located in Holland, supports DNS security,
and *claims* to not log activity. For users outside of Europe, this will
mean reduced performance, but I believe it's a worthy tradeoff.
This update was generated by hackage2nix v20160308-3-g8057d11 using the following inputs:
- Nixpkgs: bba4f2bbe3
- Hackage: ab666959f0
- LTS Haskell: 6c45757bda
- Stackage Nightly: d8a2cae779
Otherwise, using imread() in octave threw:
/nix/store/4fvwfzwg58d7167an550xm1k6m7px443-octave-4.0.0/lib/octave/4.0.0/oct/x86_64-unknown-linux-gnu/__magick_read__.oct: failed to load: /nix/store/w7xr6frwffrl135v7vpxdwmnx8l95j5m-gfortran-4.9.3/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /nix/store/qlxkin1arzwbcpiny6amn8747wp8ndg7-graphicsmagick-1.3.21/lib/libGraphicsMagick++.so.11)
(this is from 16.03, although I push this to staging)
This update was generated by hackage2nix v20160308-3-g8057d11 using the following inputs:
- Nixpkgs: 9da84a6af0
- Hackage: 1e26fd1876
- LTS Haskell: 6c45757bda
- Stackage Nightly: d8a2cae779
Commit 2040a9ac574fffd36fe20130897ccec2d5928827 changed the order of
$PATH elements, causing initialpath to appear after buildInputs. Thus
gnugrep ended up depending on bin/sh from bootstrapTools, rather than
from pkgs.bash. The fix is to provide pkgs.bash via buildInputs rather
than initialPath.
http://hydra.nixos.org/build/33276697