qwt6_qt4: Fix darwin build by adding AGL input

This commit is contained in:
Luke Adams 2017-07-14 18:10:38 -05:00
parent c3cfa106af
commit f90ddc99f6
2 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt4, qmake4Hook }: { stdenv, fetchurl, qt4, qmake4Hook, AGL }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "qwt-6.1.3"; name = "qwt-6.1.3";
@ -8,7 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "0cwp63s03dw351xavb3pzbjlqvx7kj88wv7v4a2b18m9f97d7v7k"; sha256 = "0cwp63s03dw351xavb3pzbjlqvx7kj88wv7v4a2b18m9f97d7v7k";
}; };
buildInputs = [ qt4 ]; buildInputs = [
qt4
] ++ stdenv.lib.optionals stdenv.isDarwin [ AGL ];
nativeBuildInputs = [ qmake4Hook ]; nativeBuildInputs = [ qmake4Hook ];
postPatch = '' postPatch = ''

View File

@ -10507,7 +10507,9 @@ with pkgs;
qwt = callPackage ../development/libraries/qwt {}; qwt = callPackage ../development/libraries/qwt {};
qwt6_qt4 = callPackage ../development/libraries/qwt/6_qt4.nix { }; qwt6_qt4 = callPackage ../development/libraries/qwt/6_qt4.nix {
inherit (darwin.apple_sdk.frameworks) AGL;
};
qxt = callPackage ../development/libraries/qxt {}; qxt = callPackage ../development/libraries/qxt {};