xmlsec: fix build on macOS (#101319)

* xmlsec: fix build on macOS

xmlsec detects the Darwin platform and uses the -D flag with base64, but nix uses GNU base64 which requires -d.

This patch removes the platform test and always uses the -d flag.
This commit is contained in:
Caleb Land
2020-11-01 16:55:14 -05:00
committed by GitHub
parent b22433a306
commit 7698197323
2 changed files with 13 additions and 1 deletions
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
patches = [
./lt_dladdsearchdir.patch
];
] ++ stdenv.lib.optionals stdenv.isDarwin [ ./remove_bsd_base64_decode_flag.patch ];
postPatch = ''
substituteAllInPlace src/dl.c
'';