3
0
Fork 0
forked from mirrors/nixpkgs

heimdal: Build hcrypto for depdendant applications

This commit is contained in:
William A. Kennington III 2015-01-02 17:18:57 -08:00
parent cde8e6086f
commit bd0567ecd4

View file

@ -22,8 +22,18 @@ stdenv.mkDerivation rec {
"--without-x"
];
# dont succeed with --libexec=$out/sbin, so
# We need to build hcrypt for applications like samba
postBuild = ''
(cd lib/hcrypto; make)
(cd include/hcrypto; make)
'';
postInstall = ''
# Install hcrypto
(cd lib/hcrypto; make install)
(cd include/hcrypto; make install)
# dont succeed with --libexec=$out/sbin, so
mv "$out/libexec/"* $out/sbin/
rmdir $out/libexec
'';