[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-commits
Subject:    [Nix-commits] [NixOS/nix] 596b0e: Call SetDllDirectory("") after sqlite3 init on cyg...
From:       Eelco Dolstra <eelco.dolstra () logicblox ! com>
Date:       2017-06-30 17:50:02
Message-ID: 59568f4a5ec62_7f9d3fd63da61c3098450 () hookshot-fe-6dbb0c4 ! cp1-iad ! github ! net ! mail
[Download RAW message or body]

Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 596b0e0a045eb953b5ed3328d5ae8eb636e31373
      https://github.com/NixOS/nix/commit/596b0e0a045eb953b5ed3328d5ae8eb636e31373
  Author: David McFarland <corngood@gmail.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M src/libstore/local-store.cc

  Log Message:
  -----------
  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.


  Commit: 63d6e0ad3f0a93305cebc870dbb3639506727b27
      https://github.com/NixOS/nix/commit/63d6e0ad3f0a93305cebc870dbb3639506727b27
  Author: Eelco Dolstra <eelco.dolstra@logicblox.com>
  Date:   2017-06-30 (Fri, 30 Jun 2017)

  Changed paths:
    M src/libstore/local-store.cc

  Log Message:
  -----------
  Merge pull request #1417 from corngood/cygwin-fix

Call SetDllDirectory("") after sqlite3 init on cygwin


Compare: https://github.com/NixOS/nix/compare/c7346a275c4c...63d6e0ad3f0a

_______________________________________________
nix-commits mailing list
nix-commits@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic