qt6.qtspeech: unbreak on aarch64-darwin
This commit is contained in:
parent
2e7f0a84c0
commit
65a2669c01
2 changed files with 8 additions and 2 deletions
|
@ -110,7 +110,9 @@ let
|
|||
qtserialbus = callPackage ./modules/qtserialbus.nix { };
|
||||
qtserialport = callPackage ./modules/qtserialport.nix { };
|
||||
qtshadertools = callPackage ./modules/qtshadertools.nix { };
|
||||
qtspeech = callPackage ./modules/qtspeech.nix { };
|
||||
qtspeech = callPackage ./modules/qtspeech.nix {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa;
|
||||
};
|
||||
qtquick3d = callPackage ./modules/qtquick3d.nix { };
|
||||
qtquick3dphysics = callPackage ./modules/qtquick3dphysics.nix { };
|
||||
qtquicktimeline = callPackage ./modules/qtquicktimeline.nix { };
|
||||
|
|
|
@ -1,15 +1,19 @@
|
|||
{ qtModule
|
||||
, lib
|
||||
, stdenv
|
||||
, qtbase
|
||||
, qtmultimedia
|
||||
, pkg-config
|
||||
, flite
|
||||
, alsa-lib
|
||||
, speechd
|
||||
, Cocoa
|
||||
}:
|
||||
|
||||
qtModule {
|
||||
pname = "qtspeech";
|
||||
qtInputs = [ qtbase qtmultimedia ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ flite alsa-lib speechd ];
|
||||
buildInputs = lib.optionals stdenv.isLinux [ flite alsa-lib speechd ];
|
||||
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue