mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
qwt6_qt4: Fix darwin build by adding AGL input
This commit is contained in:
parent
c3cfa106af
commit
f90ddc99f6
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, qt4, qmake4Hook }:
|
||||
{ stdenv, fetchurl, qt4, qmake4Hook, AGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qwt-6.1.3";
|
||||
@ -8,7 +8,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0cwp63s03dw351xavb3pzbjlqvx7kj88wv7v4a2b18m9f97d7v7k";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
buildInputs = [
|
||||
qt4
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ AGL ];
|
||||
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -10507,7 +10507,9 @@ with pkgs;
|
||||
|
||||
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 {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user