Commit 796f86d2 authored by Berk D. Demir's avatar Berk D. Demir
Browse files

nanovna-saver: Add qt6.qtwayland on Linux

Add qtwayland to buildInputs on Linux as described in the manual[1].

Qt using Wayland backend allows fractional scaling desktops to render
the text and images crisply.

[1]: https://nixos.org/manual/nixpkgs/unstable/#qt-default-nix
parent 4f217ce8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  python3,
  fetchFromGitHub,
  qt6,
@@ -20,6 +21,8 @@ python3.pkgs.buildPythonApplication rec {
    qt6.qtbase
  ];

  buildInputs = lib.optional stdenv.isLinux qt6.qtwayland;

  propagatedBuildInputs = with python3.pkgs; [
    cython
    scipy