summaryrefslogtreecommitdiff
path: root/nix/default.nix
diff options
context:
space:
mode:
authorMihai Fufezan <fufexan@protonmail.com>2023-12-12 23:34:21 +0200
committerMihai Fufezan <fufexan@protonmail.com>2023-12-12 23:34:22 +0200
commitd9bc210285c1971afd9abe9fbe89a5a14c8df2a7 (patch)
treebf7c13e962d820f891d5a17cdb6a478a6ed3321b /nix/default.nix
parent4de986072c12af8081f877f4792d57b4a11a0a6a (diff)
Nix: remove libdrm override
Nixpkgs update has the new version.
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix12
1 files changed, 1 insertions, 11 deletions
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