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 }: 1 + { stdenv, fetchurl, pkgconfig, SDL2, libpng, libiconv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "qrencode"; ··· 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ SDL2 libpng ]; 15 + buildInputs = [ SDL2 libpng ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ]; 16 16 17 17 configureFlags = [ 18 18 "--with-tests"