chore: debug banana-accounting on wayland

This commit is contained in:
steveej 2023-08-08 17:54:51 +02:00
parent 9988e3e969
commit 6aefeb06c1
3 changed files with 37 additions and 5 deletions

View file

@ -66,6 +66,38 @@ pkgs.stdenv.mkDerivation {
ntfy
hedgedoc-cli
xwayland
(banana-accounting.overrideDerivation (attrs:
with inputs'.nixpkgs-2211.legacyPackages; {
# dontWrapGApps = true;
srcs = builtins.fetchurl {
# hosted via https://web3.storage
url = "https://bafybeiabi4m2i4izummipbl5wzhwxjyjt2rylgsrahhkh7i63piwd37n4u.ipfs.w3s.link/mfpcksczayaqqx8fdacp0627zm36c001-bananaplus.tgz";
sha256 = "09666iqzqdw2526pf6bg5kd0hfw0wblw8ag636ki72dsiw6bmbf1";
};
# nativeBuildInputs =
# attrs.nativeBuildInputs
# ++ [
# qt5.qtbase
# qt5.wrapQtAppsHook
# ];
# buildInputs =
# attrs.buildInputs
# ++ [
# qt5.qtwayland
# ];
# preFixup =
# (attrs.preFixup or "")
# + ''
# qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
# '';
}))
]);
# Set Environment Variables

View file

@ -54,13 +54,14 @@ in {
pavucontrol
playerctl
pasystray
# qt5.qtwayland
# qt6.qtwayland
qt5.qtwayland
qt6.qtwayland
# libsForQt5.qt5.qtwayland
# libsForQt6.qt6.qtwayland
# probably required by flameshot
# xdg-desktop-portal xdg-desktop-portal-wlr
# grim
];
home.sessionVariables = {

View file

@ -20,7 +20,6 @@
};
home.packages = with pkgs; [
banana-accounting
];
};