summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorTom Englund <tomenglund26@gmail.com>2025-05-15 11:13:24 +0200
committerGitHub <noreply@github.com>2025-05-15 10:13:24 +0100
commit5ceb0ec15df6301cafe95a1b1f73b4f4bf255968 (patch)
tree80d14a0fd1edbdda851a9ecc6138e810d99179ad /nix
parentf707d86912fa75c19920818321aec99d1f287c46 (diff)
core: drop the legacy renderer (#10408)
* core: drop the legacy renderer the legacy renderer is broken and barely used, drop it. * Nix: drop support for legacyRenderer --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix6
-rw-r--r--nix/overlays.nix8
2 files changed, 10 insertions, 4 deletions
diff --git a/nix/default.nix b/nix/default.nix
index f66bac93..6832006f 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -41,7 +41,6 @@
xwayland,
debug ? false,
enableXWayland ? true,
- legacyRenderer ? false,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
wrapRuntimeDeps ? true,
version ? "git",
@@ -52,6 +51,7 @@
enableNvidiaPatches ? false,
nvidiaPatches ? false,
hidpiXWayland ? false,
+ legacyRenderer ? false,
}: let
inherit (builtins) baseNameOf foldl' readFile;
inherit (lib.asserts) assertMsg;
@@ -70,6 +70,7 @@ in
assert assertMsg (!nvidiaPatches) "The option `nvidiaPatches` has been removed.";
assert assertMsg (!enableNvidiaPatches) "The option `enableNvidiaPatches` has been removed.";
assert assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been removed. Please refer https://wiki.hyprland.org/Configuring/XWayland";
+ assert assertMsg (!legacyRenderer) "The option `legacyRenderer` has been removed. Legacy renderer is no longer supported.";
customStdenv.mkDerivation (finalAttrs: {
pname = "hyprland${optionalString debug "-debug"}";
inherit version;
@@ -142,7 +143,7 @@ in
wayland-scanner
xorg.libXcursor
]
- (optionals customStdenv.hostPlatform.isBSD [ epoll-shim ])
+ (optionals customStdenv.hostPlatform.isBSD [epoll-shim])
(optionals customStdenv.hostPlatform.isMusl [libexecinfo])
(optionals enableXWayland [
xorg.libxcb
@@ -165,7 +166,6 @@ in
mesonFlags = flatten [
(mapAttrsToList mesonEnable {
"xwayland" = enableXWayland;
- "legacy_renderer" = legacyRenderer;
"systemd" = withSystemd;
"uwsm" = false;
"hyprpm" = false;
diff --git a/nix/overlays.nix b/nix/overlays.nix
index 1f50e88d..687a49d4 100644
--- a/nix/overlays.nix
+++ b/nix/overlays.nix
@@ -50,9 +50,15 @@ in {
hyprutils = final.hyprutils.override {debug = true;};
debug = true;
};
- hyprland-legacy-renderer = final.hyprland.override {legacyRenderer = true;};
# deprecated packages
+ hyprland-legacy-renderer =
+ builtins.trace ''
+ hyprland-legacy-renderer was removed. Please use the hyprland package.
+ Legacy renderer is no longer supported.
+ ''
+ final.hyprland;
+
hyprland-nvidia =
builtins.trace ''
hyprland-nvidia was removed. Please use the hyprland package.