From 10ae6d7725f30e43d952874f8ef1914962ae7f6c Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 27 Feb 2024 11:26:03 +0000 Subject: [PATCH] swaynotificationcenter: support cross compilation --- pkgs/applications/misc/swaynotificationcenter/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/swaynotificationcenter/default.nix b/pkgs/applications/misc/swaynotificationcenter/default.nix index a9643e707e5a..f05aa8fd9345 100644 --- a/pkgs/applications/misc/swaynotificationcenter/default.nix +++ b/pkgs/applications/misc/swaynotificationcenter/default.nix @@ -39,6 +39,9 @@ stdenv.mkDerivation (finalAttrs: rec { hash = "sha256-7O+DX4uuncUqx5zEKQprZE6tctteT6NU01V2EBHiFqA="; }; + # build pkg-config is required to locate the native `scdoc` input + depsBuildBuild = [ pkg-config ]; + nativeBuildInputs = [ bash-completion # cmake # currently conflicts with meson @@ -50,7 +53,6 @@ stdenv.mkDerivation (finalAttrs: rec { pkg-config python3 sassc - pantheon.granite scdoc vala wrapGAppsHook @@ -68,6 +70,7 @@ stdenv.mkDerivation (finalAttrs: rec { libhandy libpulseaudio librsvg + pantheon.granite # systemd # ends with broken permission ];