Skip to content

Commit

Permalink
Fix gtk2 adwaita theme warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Apr 23, 2024
1 parent 5715f04 commit 544aeee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
])
++ (pkgs.lib.optionals pkgs.stdenv.isLinux [
pkgs.qt6.wrapQtAppsHook
pkgs.makeWrapper
]);

propagatedBuildInputs =
Expand All @@ -82,6 +83,15 @@
qt6gtk2
]);

postFixup = let
# https://github.com/NixOS/nixpkgs/issues/60918
theme = pkgs.gnome3.gnome-themes-extra;
in
pkgs.lib.optionalString pkgs.stdenv.isLinux ''
wrapProgram $out/bin/tuifi \
--prefix GTK_PATH : "${theme}/lib/gtk-2.0"
'';

pythonImportsCheck = ["TUIFIManager"];
meta.mainProgram = "tuifi";
};
Expand Down

0 comments on commit 544aeee

Please sign in to comment.