mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 12:50:04 +00:00
munge: use openssl instead of libgcrypt (#563841)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
libgcrypt,
|
||||
openssl,
|
||||
zlib,
|
||||
bzip2,
|
||||
nixosTests,
|
||||
@@ -28,11 +28,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
libgcrypt # provides libgcrypt.m4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libgcrypt
|
||||
openssl
|
||||
zlib
|
||||
bzip2
|
||||
];
|
||||
@@ -50,8 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--with-pkgconfigdir=${placeholder "out"}/lib/pkgconfig"
|
||||
"--with-systemdunitdir=${placeholder "out"}/lib/systemd/system"
|
||||
|
||||
# Cross-compilation hacks
|
||||
"--with-libgcrypt-prefix=${lib.getDev libgcrypt}"
|
||||
"--with-crypto-lib=openssl"
|
||||
# workaround for cross compilation: https://github.com/dun/munge/issues/103
|
||||
"ac_cv_file__dev_spx=no"
|
||||
"x_ac_cv_check_fifo_recvfd=no"
|
||||
|
||||
Reference in New Issue
Block a user