diff options
author | Vaxry <[email protected]> | 2023-11-26 02:58:57 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-26 02:58:57 +0000 |
commit | cd96ceecc551c25631783499bd92c6662c5d3616 (patch) | |
tree | 5e30d229bfc7d11f9903a59898f75f6e6a9b96f7 /nix/default.nix | |
parent | ad3f6886484e9adbab532de125e69a70c54fa13e (diff) | |
download | Hyprland-cd96ceecc551c25631783499bd92c6662c5d3616.tar.gz Hyprland-cd96ceecc551c25631783499bd92c6662c5d3616.zip |
build: remove nv patches (#3957)
Diffstat (limited to 'nix/default.nix')
-rw-r--r-- | nix/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nix/default.nix b/nix/default.nix index 63ef838e..42808a5f 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -27,7 +27,6 @@ xcbutilwm, xwayland, debug ? false, - enableNvidiaPatches ? false, enableXWayland ? true, legacyRenderer ? false, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, @@ -35,13 +34,15 @@ version ? "git", commit, # deprecated flags + enableNvidiaPatches ? false, nvidiaPatches ? false, hidpiXWayland ? false, }: -assert lib.assertMsg (!nvidiaPatches) "The option `nvidiaPatches` has been renamed `enableNvidiaPatches`"; +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"; stdenv.mkDerivation { - pname = "hyprland${lib.optionalString enableNvidiaPatches "-nvidia"}${lib.optionalString debug "-debug"}"; + pname = "hyprland${lib.optionalString debug "-debug"}"; inherit version; src = lib.cleanSourceWith { @@ -82,7 +83,7 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov wayland wayland-protocols pciutils - (wlroots.override {inherit enableNvidiaPatches;}) + wlroots ] ++ lib.optionals enableXWayland [libxcb xcbutilwm xwayland] ++ lib.optionals withSystemd [systemd]; |