diff --git a/pkgs/development/libraries/qrcodegen/default.nix b/pkgs/development/libraries/qrcodegen/default.nix index 6212f6f53b99..eeb830d3fec4 100644 --- a/pkgs/development/libraries/qrcodegen/default.nix +++ b/pkgs/development/libraries/qrcodegen/default.nix @@ -16,6 +16,12 @@ stdenv.mkDerivation rec { sourceRoot = "source/c"; + nativeBuildInputs = lib.optionals stdenv.cc.isClang [ + stdenv.cc.cc.libllvm.out + ]; + + makeFlags = lib.optionals stdenv.cc.isClang [ "AR=llvm-ar" ]; + installPhase = '' runHook preInstall @@ -32,7 +38,6 @@ stdenv.mkDerivation rec { license = licenses.mit; maintainers = with maintainers; [ mcbeth AndersonTorres ]; platforms = platforms.unix; - broken = stdenv.isDarwin; }; } # TODO: build the other languages