Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce bundle size by removing qt6.full dependency #164

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions kiosk/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, system_name, system_version }:
{ pkgs, system_name, system_version, additional_inputs ? [] }:

with pkgs;

Expand Down Expand Up @@ -30,11 +30,10 @@ python3Packages.buildPythonApplication rec {
pygobject3
pyqt6-webengine
pytest
qt6.full
qt6.qtbase
requests
types-requests
];
] ++ additional_inputs;

postInstall = ''
cp -r images/ $out/images
Expand Down
3 changes: 2 additions & 1 deletion kiosk/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ in
pkgs = pkgs;
system_name = "PlayOS";
system_version = "1.0.0-dev";
# Provides qtwayland only for testing
additional_inputs = [ pkgs.qt6.qtwayland ];
}

Loading