From 9fc5f4c48b20875337b7a1eddd274f191edd504d Mon Sep 17 00:00:00 2001 From: Mily <128398851+milyth@users.noreply.github.com> Date: Sun, 23 Jul 2023 15:51:00 -0300 Subject: init: Request SCHED_RR using CAP_SYS_NICE and add Python to nix dev shell (#2690) * nix: add python3 to devShell * init: request SCHED_RR scheduling policy * init: checks if host supports reseting scheduler on fork * init: make gainRealTime more compatible with other OSes * init: remove linux-only code --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index fc595c3d..dac4d69b 100644 --- a/flake.nix +++ b/flake.nix @@ -77,7 +77,7 @@ devShells = genSystems (system: { default = pkgsFor.${system}.mkShell { name = "hyprland-shell"; - nativeBuildInputs = with pkgsFor.${system}; [cmake]; + nativeBuildInputs = with pkgsFor.${system}; [ cmake python3 ]; buildInputs = [self.packages.${system}.wlroots-hyprland]; inputsFrom = [ self.packages.${system}.wlroots-hyprland -- cgit v1.2.3