eww: deprecate eww-wayland package

eww: warn when using eww-wayland package

eww: move eww-wayland to `aliases.nix`

eww: use eww package in eww-wayland alias

eww: remove withWayland flag
This commit is contained in:
Tiago Lagger 2024-02-17 19:30:46 +00:00 committed by Tiago Dinis
parent 38e0e9b27c
commit 07cc28b7bc
3 changed files with 2 additions and 10 deletions

View File

@ -5,7 +5,6 @@
, wrapGAppsHook
, gtk3
, librsvg
, withWayland ? false
, gtk-layer-shell
, stdenv
}:
@ -25,12 +24,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
buildInputs = [ gtk3 librsvg ] ++ lib.optional withWayland gtk-layer-shell;
buildNoDefaultFeatures = true;
buildFeatures = [
(if withWayland then "wayland" else "x11")
];
buildInputs = [ gtk3 librsvg gtk-layer-shell ];
cargoBuildFlags = [ "--bin" "eww" ];

View File

@ -277,6 +277,7 @@ mapAliases ({
eterm = throw "eterm was removed because it is still insecure: https://github.com/mej/Eterm/issues/7"; # Added 2023-09-10
exa = throw "'exa' has been removed because it is unmaintained upstream. Consider using 'eza', a maintained fork"; # Added 2023-09-07
exhibitor = throw "'exhibitor' has been removed because it is unmaintained upstream"; # Added 2023-06-20
eww-wayland = lib.warn "eww now can build for X11 and wayland simultaneously, so `eww-wayland` is deprecated, use the normal `eww` package instead." eww;
### F ###

View File

@ -31219,9 +31219,6 @@ with pkgs;
evilpixie = libsForQt5.callPackage ../applications/graphics/evilpixie { };
eww = callPackage ../applications/window-managers/eww { };
eww-wayland = callPackage ../applications/window-managers/eww {
withWayland = true;
};
exaile = callPackage ../applications/audio/exaile { };