From bd8bfcd66d53e179d963fcb1508d4bdf0382c520 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 31 Dec 2024 14:06:35 -0500 Subject: fix(nix): add nativeBuildInputs param to drv --- nix/mkAstalPkg.nix | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/nix/mkAstalPkg.nix b/nix/mkAstalPkg.nix index 36fcf51..220c261 100644 --- a/nix/mkAstalPkg.nix +++ b/nix/mkAstalPkg.nix @@ -77,19 +77,25 @@ in inherit pname src version; outputs = ["out" "dev" "doc"]; - nativeBuildInputs = with pkgs; [ - wrapGAppsHook - gobject-introspection - meson - pkg-config - ninja - vala - wayland - wayland-scanner - python3 - ]; - - propagatedBuildInputs = [pkgs.glib] ++ packages; + nativeBuildInputs = with pkgs; + [ + wrapGAppsHook + gobject-introspection + meson + pkg-config + ninja + vala + wayland + wayland-scanner + python3 + ] + ++ nativeBuildInputs; + + propagatedBuildInputs = with pkgs; + [ + glib + ] + ++ packages; postUnpack = '' cp --remove-destination ${../lib/gir.py} $sourceRoot/gir.py -- cgit v1.2.3