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, lib,
stdenv, stdenv,
fetchpatch,
makeWrapper, makeWrapper,
meson, meson,
ninja, ninja,
@ -14,11 +13,11 @@
hyprland-protocols, hyprland-protocols,
inih, inih,
libdrm, libdrm,
libuuid,
mesa, mesa,
pipewire, pipewire,
systemd, systemd,
wayland, wayland,
libsForQt5,
version ? "git", version ? "git",
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -29,8 +28,24 @@ stdenv.mkDerivation {
strictDeps = true; strictDeps = true;
depsBuildBuild = [pkg-config]; depsBuildBuild = [pkg-config];
nativeBuildInputs = [meson ninja pkg-config wayland-scanner makeWrapper]; nativeBuildInputs = [
buildInputs = [hyprland-protocols inih libdrm mesa pipewire systemd wayland wayland-protocols]; meson
ninja
pkg-config
wayland-scanner
makeWrapper
];
buildInputs = [
hyprland-protocols
inih
libdrm
libuuid
mesa
pipewire
systemd
wayland
wayland-protocols
];
mesonFlags = [ mesonFlags = [
"-Dsd-bus-provider=libsystemd" "-Dsd-bus-provider=libsystemd"

View file

@ -15,8 +15,14 @@ stdenv.mkDerivation {
inherit version; inherit version;
src = ../hyprland-share-picker; src = ../hyprland-share-picker;
nativeBuildInputs = [cmake wrapQtAppsHook makeShellWrapper]; nativeBuildInputs = [
buildInputs = [qtbase]; cmake
wrapQtAppsHook
makeShellWrapper
];
buildInputs = [
qtbase
];
dontWrapQtApps = true; dontWrapQtApps = true;