Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 919d44d29ffa5aa2ea499f97f1bf1a7009366fbc
https://github.com/NixOS/nixpkgs/commit/919d44d29ffa5aa2ea499f97f1bf1a7009366fbc
Author: Tuomas Tynkkynen <[email protected]>
Date: 2015-12-28 (Mon, 28 Dec 2015)
Changed paths:
M pkgs/tools/networking/openssh/default.nix
Log Message:
-----------
openssh: Compile with '--with-pid-dir' to improve build purity
The configure script tries to probe whether /var/run exists when
determining the location for the pid file, which is not very nice when
doing chroot builds. Just set it explicitly to avoid the problem.
For reference, the culprit in configure.ac:
````
piddir=/var/run
if test ! -d $piddir ; then
piddir=`eval echo ${sysconfdir}`
case $piddir in
NONE/*) piddir=`echo $piddir | sed "s~NONE~$ac_default_prefix~"` ;;
esac
fi
AC_ARG_WITH([pid-dir],
[ --with-pid-dir=PATH Specify location of ssh.pid file],
...
````
Also, use the `install-nokeys` target in installPhase so we avoid
installing useless host keys into $out/etc/ssh and improve built purity
as well.
Commit: f3aa927b7006ba07b78fe38fe272bfa9f5d4c47d
https://github.com/NixOS/nixpkgs/commit/f3aa927b7006ba07b78fe38fe272bfa9f5d4c47d
Author: Peter Simons <[email protected]>
Date: 2015-12-28 (Mon, 28 Dec 2015)
Changed paths:
M pkgs/tools/networking/openssh/default.nix
Log Message:
-----------
Merge pull request #11991 from dezgeg/pr-openssh-purity
openssh: Compile with '--with-pid-dir' to improve build purity
Compare: https://github.com/NixOS/nixpkgs/compare/35780cc1546c...f3aa927b7006_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits