anki: Use native version

This currently still requires an override to work with wayland, though
there is a nixpkgs PR to fix this.
This commit is contained in:
Simon Bruder 2023-04-16 11:14:37 +02:00
parent dc4a2c27ec
commit 2a5e20cb36
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 6 additions and 1 deletions

View file

@ -64,4 +64,9 @@ in
patches = [ ];
});
# FIXME: Remove once PR 226426 lands
anki = prev.anki.overrideAttrs (o: rec {
buildInputs = o.buildInputs ++ (with prev; [ qt6.qtwayland ]);
});
}

View file

@ -2,7 +2,7 @@
lib.mkIf nixosConfig.sbruder.gui.enable {
home.packages = [
pkgs.anki-bin
pkgs.unstable.anki
];
home.sessionVariables = {