From 04f579377a32781ce57c9cf4ba2a5bcb7f53fa97 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Mon, 10 Apr 2023 14:51:52 +0300 Subject: [PATCH] nix: add libuuid --- nix/default.nix | 23 +++++++++++++++++++---- nix/hyprland-share-picker.nix | 10 ++++++++-- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/nix/default.nix b/nix/default.nix index 7d60c8b..838d46f 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -1,7 +1,6 @@ { lib, stdenv, - fetchpatch, makeWrapper, meson, ninja, @@ -14,11 +13,11 @@ hyprland-protocols, inih, libdrm, + libuuid, mesa, pipewire, systemd, wayland, - libsForQt5, version ? "git", }: stdenv.mkDerivation { @@ -29,8 +28,24 @@ stdenv.mkDerivation { strictDeps = true; depsBuildBuild = [pkg-config]; - nativeBuildInputs = [meson ninja pkg-config wayland-scanner makeWrapper]; - buildInputs = [hyprland-protocols inih libdrm mesa pipewire systemd wayland wayland-protocols]; + nativeBuildInputs = [ + meson + ninja + pkg-config + wayland-scanner + makeWrapper + ]; + buildInputs = [ + hyprland-protocols + inih + libdrm + libuuid + mesa + pipewire + systemd + wayland + wayland-protocols + ]; mesonFlags = [ "-Dsd-bus-provider=libsystemd" diff --git a/nix/hyprland-share-picker.nix b/nix/hyprland-share-picker.nix index e26b10d..6632beb 100644 --- a/nix/hyprland-share-picker.nix +++ b/nix/hyprland-share-picker.nix @@ -15,8 +15,14 @@ stdenv.mkDerivation { inherit version; src = ../hyprland-share-picker; - nativeBuildInputs = [cmake wrapQtAppsHook makeShellWrapper]; - buildInputs = [qtbase]; + nativeBuildInputs = [ + cmake + wrapQtAppsHook + makeShellWrapper + ]; + buildInputs = [ + qtbase + ]; dontWrapQtApps = true;