nix: add libuuid

This commit is contained in:
Mihai Fufezan 2023-04-10 14:51:52 +03:00
parent e33206673d
commit 04f579377a
No known key found for this signature in database
GPG key ID: 5899325F2F120900
2 changed files with 27 additions and 6 deletions

View file

@ -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"

View file

@ -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;