Skip to content

Commit

Permalink
Nix: build using CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Jan 3, 2024
1 parent de866e3 commit 6356763
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions nix/default.nix
Original file line number Diff line number Diff line change
@@ -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",
}:
Expand All @@ -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
Expand Down

0 comments on commit 6356763

Please sign in to comment.