From d9bc210285c1971afd9abe9fbe89a5a14c8df2a7 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Tue, 12 Dec 2023 23:34:21 +0200 Subject: Nix: remove libdrm override Nixpkgs update has the new version. --- nix/default.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'nix/default.nix') diff --git a/nix/default.nix b/nix/default.nix index 68b1bb22..d80a42a9 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -40,16 +40,6 @@ nvidiaPatches ? false, hidpiXWayland ? false, }: -let - # NOTE: remove after https://github.com/NixOS/nixpkgs/pull/271096 reaches nixos-unstable - libdrm_2_4_118 = libdrm.overrideAttrs(attrs: rec { - version = "2.4.118"; - src = fetchurl { - url = "https://dri.freedesktop.org/${attrs.pname}/${attrs.pname}-${version}.tar.xz"; - hash = "sha256-p3e9hfK1/JxX+IbIIFgwBXgxfK/bx30Kdp1+mpVnq4g="; - }; - }); -in assert lib.assertMsg (!nvidiaPatches) "The option `nvidiaPatches` has been removed."; assert lib.assertMsg (!enableNvidiaPatches) "The option `enableNvidiaPatches` has been removed."; assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been removed. Please refer https://wiki.hyprland.org/Configuring/XWayland"; @@ -85,7 +75,7 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov cairo git hyprland-protocols - libdrm_2_4_118 + libdrm libGL libinput libxkbcommon -- cgit v1.2.3