Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #53266 from marsam/fix-qrencode-darwin

qrencode: fix darwin build

authored by

markuskowa and committed by
GitHub
82c329ea 189c2a4d

+2 -2
+2 -2
pkgs/development/libraries/qrencode/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, SDL2, libpng }: 2 3 stdenv.mkDerivation rec { 4 pname = "qrencode"; ··· 12 }; 13 14 nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ SDL2 libpng ]; 16 17 configureFlags = [ 18 "--with-tests"
··· 1 + { stdenv, fetchurl, pkgconfig, SDL2, libpng, libiconv }: 2 3 stdenv.mkDerivation rec { 4 pname = "qrencode"; ··· 12 }; 13 14 nativeBuildInputs = [ pkgconfig ]; 15 + buildInputs = [ SDL2 libpng ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ]; 16 17 configureFlags = [ 18 "--with-tests"