diff --git a/nix/default.nix b/nix/default.nix index f960f11..c0a0f49 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -1,26 +1,25 @@ { lib, stdenv, + cmake, makeWrapper, - meson, - ninja, pkg-config, + wayland-scanner, + wrapQtAppsHook, + hyprland, + hyprland-protocols, hyprlang, libdrm, mesa, pipewire, - sdbus-cpp, - systemd, - wayland-protocols, - wayland-scanner, qtbase, qttools, qtwayland, - wrapQtAppsHook, - hyprland, + sdbus-cpp, slurp, - hyprland-protocols, + systemd, wayland, + wayland-protocols, debug ? false, version ? "git", }: @@ -30,26 +29,25 @@ stdenv.mkDerivation { src = ../.; - mesonBuildType = + cmakeBuildType = if debug then "debug" else "release"; nativeBuildInputs = [ - meson - ninja + cmake + makeWrapper pkg-config wayland-scanner - makeWrapper wrapQtAppsHook ]; buildInputs = [ hyprland-protocols + hyprlang libdrm mesa pipewire - hyprlang qtbase qttools qtwayland