forked from mirrors/nixpkgs
heimdal: Build hcrypto for depdendant applications
This commit is contained in:
parent
cde8e6086f
commit
bd0567ecd4
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue