1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Merge pull request #316889 from humaidtii/mako-xcomp

mako: fix cross-compilation
This commit is contained in:
Jörg Thalheim 2024-06-11 07:48:12 +02:00 committed by GitHub
commit 64aff417d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,21 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, scdoc
, systemd, pango, cairo, gdk-pixbuf, jq, bash
, wayland, wayland-protocols
, wrapGAppsHook3 }:
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, scdoc
, systemd
, pango
, cairo
, gdk-pixbuf
, jq
, bash
, wayland
, wayland-scanner
, wayland-protocols
, wrapGAppsHook3
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mako";
@ -14,7 +28,9 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-QtYtondP7E5QXLRnmcaOQlAm9fKXctfjxeUFqK6FnnE=";
};
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-protocols wrapGAppsHook3 ];
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-protocols wrapGAppsHook3 wayland-scanner ];
buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
mesonFlags = [