Merge pull request #180565 from WeebSorceress/anime-downloader-fix-qt
anime-downloader: fix bug with qt build
This commit is contained in:
commit
7a145659b0
@ -1,4 +1,4 @@
|
||||
{ lib, python3, aria2, mpv, nodejs, fetchFromGitHub }:
|
||||
{ lib, python3, aria2, mpv, nodejs, qt5, fetchFromGitHub }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "anime-downloader";
|
||||
@ -11,6 +11,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
sha256 = "sha256-Uk2mtsSrb8fCD9JCFzvLBzMEB7ViVDrKPSOKy9ALJ6o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aria2
|
||||
mpv
|
||||
@ -31,6 +33,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
tabulate
|
||||
]);
|
||||
|
||||
preFixup = ''
|
||||
wrapQtApp "$out/bin/anime" --prefix PATH : ${lib.makeBinPath propagatedBuildInputs}
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
# FIXME: checks must be disabled because they are lacking the qt env.
|
||||
# They fail like this, even if built and wrapped with all Qt and runtime dependencies.
|
||||
|
Loading…
Reference in New Issue
Block a user