diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-01-02 23:33:54 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-01-02 23:35:05 -0500 |
commit | 34ea243e4278e0518cb793844b59c54450e95ded (patch) | |
tree | 7d170da56ff768b402c4cd393ea025d575225c1d /pkgs/development/libraries/qrencode | |
parent | b0f40b7851309ed20524f0b05bd4b1dda13d4ea4 (diff) | |
download | nixpkgs-34ea243e4278e0518cb793844b59c54450e95ded.tar nixpkgs-34ea243e4278e0518cb793844b59c54450e95ded.tar.gz nixpkgs-34ea243e4278e0518cb793844b59c54450e95ded.tar.bz2 nixpkgs-34ea243e4278e0518cb793844b59c54450e95ded.tar.lz nixpkgs-34ea243e4278e0518cb793844b59c54450e95ded.tar.xz nixpkgs-34ea243e4278e0518cb793844b59c54450e95ded.tar.zst nixpkgs-34ea243e4278e0518cb793844b59c54450e95ded.zip |
qrencode: fix darwin build
Diffstat (limited to 'pkgs/development/libraries/qrencode')
-rw-r--r-- | pkgs/development/libraries/qrencode/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/qrencode/default.nix b/pkgs/development/libraries/qrencode/default.nix index 1cbdf1ffdf8..9e8d9ce239b 100644 --- a/pkgs/development/libraries/qrencode/default.nix +++ b/pkgs/development/libraries/qrencode/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, SDL2, libpng }: +{ stdenv, fetchurl, pkgconfig, SDL2, libpng, libiconv }: stdenv.mkDerivation rec { pname = "qrencode"; @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ SDL2 libpng ]; + buildInputs = [ SDL2 libpng ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ]; configureFlags = [ "--with-tests" |