From eb50dfa1c49e563e73c1c2f2ebf4c363345c7562 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 2 Aug 2022 22:51:04 +0200 Subject: [PATCH] exiv2: fix build on aarch64-darwin --- pkgs/development/libraries/exiv2/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix index 54f42ae8db7b..13e23b0fa4b5 100644 --- a/pkgs/development/libraries/exiv2/default.nix +++ b/pkgs/development/libraries/exiv2/default.nix @@ -87,6 +87,8 @@ stdenv.mkDerivation rec { substituteInPlace ../tests/bash_tests/testcases.py \ --replace "def io_test(self):" "def io_disabled(self):" ''} + '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' + export LC_ALL=C ''; # With CMake we have to enable samples or there won't be @@ -120,6 +122,6 @@ stdenv.mkDerivation rec { description = "A library and command-line utility to manage image metadata"; platforms = platforms.all; license = licenses.gpl2Plus; - maintainers = [ ]; + maintainers = with maintainers; [ wegank ]; }; }