3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
aszlig e957d71680
heimdal: Move openssh to propagatedBuildInputs.
A few more libraries were switched to using the kerberos attribute
instead of krb5 in 5fe7439. So those libraries are now built against
heimbal instead of MIT kerberos.

One of those libraries is libtirpc, which results in the following build
output:

http://hydra.nixos.org/build/18423661/nixlog/1/raw

The reason for this is, that "pkgconfig --libs" of heimdal lists
-lcrypto (which is part of OpenSSL), which is not propagated to
libtirpc.

See here (lines wrapped with backslash at the end of line):

$ nix-shell -p heimdal pkgconfig --command 'pkg-config --libs heimdal-gssapi'
-L/nix/store/cxjkl33j0mb4ilffaijl7gschbjzfv35-heimdal-1.5.3/lib -lgssapi \
-lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lroken -lcrypt \
-ldl -lresolv -pthread

Versus using MIT kerberos:

$ nix-shell -p krb5 pkgconfig --command 'pkg-config --libs krb5'
-L/nix/store/91vyw8yn89qnv8m8b35kgc4c4v7zp9as-krb5-1.13/lib -lkrb5 \
-lk5crypto -lcom_err

So the latter only lists libraries that are part of krb5 itself.

By adding openssh to propagatedBuildInputs, we should be able to build
any package that depends on either krb5/heimdal without any missing
dependencies.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-01-06 17:11:16 +01:00
..
arduino Change occurrences of gcc to the more general cc 2014-12-26 11:06:21 -06:00
compilers pakcs: advance version 1.11.3 to 1.11.4, also fixing the build. 2015-01-06 11:15:48 +01:00
coq-modules Adds coq-interval 2014-12-08 09:15:13 +01:00
eclipse
guile-modules Change occurrences of gcc to the more general cc 2014-12-26 11:06:21 -06:00
interpreters python34: as a workaround, explicitly set MACOSX_DEPLOYMENT_TARGET 2015-01-06 09:56:08 -05:00
libraries heimdal: Move openssh to propagatedBuildInputs. 2015-01-06 17:11:16 +01:00
lisp-modules
lua-modules
misc Fix user-facing typos (mainly in descriptions) 2015-01-01 15:45:32 +01:00
mobile More gcc->cc refs 2014-12-26 12:33:16 -05:00
ocaml-modules ocaml-lambda-term: adds dependency to camlp4 2015-01-06 11:05:30 +01:00
perl-modules fix a bunch of perl modules 2014-12-10 01:38:00 +01:00
pharo Update pharo vm 2014-12-04 16:41:20 +01:00
pure-modules/pure-gsl
python-modules pycrypto: preConfigure patch ups 2015-01-03 07:53:08 -05:00
qtcreator
r-modules Mark R packages h2o, jvmr, and qtbase as broken. 2014-12-04 15:00:54 +01:00
ruby-modules
tools sqsh: remove trailing whitespace in the Nix file 2015-01-06 09:56:08 -05:00
web nodePackages: fix builder 2014-12-26 01:04:08 +01:00