about summary refs log tree commit diff
path: root/src/libstore/sandbox-minimal.sb
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2017-06-20T12·10-0300
committerDavid McFarland <corngood@gmail.com>2017-06-20T13·59-0300
commit596b0e0a045eb953b5ed3328d5ae8eb636e31373 (patch)
tree4f1e98c423ac78ddf8d954111dea95d62bce5fc5 /src/libstore/sandbox-minimal.sb
parentc7346a275c4cdcb59b3961241ddc52b79452d716 (diff)
Call SetDllDirectory("") after sqlite3 init on cygwin
Cygwin sqlite3 is patched to call SetDllDirectory("/usr/bin") on init, which
affects the current process and is inherited by child processes.  It causes
DLLs to be loaded from /usr/bin/ before $PATH, which breaks all sorts of
things.  A typical failures would be header/lib version mismatches (e.g.
openssl when running checkPhase on openssh).  We'll just set it back to the
default value.

Note that this is a problem with the cygwin version of sqlite3 (currently
3.18.0).  nixpkgs doesn't have the problematic patch.
Diffstat (limited to 'src/libstore/sandbox-minimal.sb')
0 files changed, 0 insertions, 0 deletions