From 6245a4e056a9315645f64c6fbc7b56968d535599 Mon Sep 17 00:00:00 2001 From: death916 Date: Wed, 14 May 2025 09:55:27 -0700 Subject: [PATCH] halloy built on commit b4 this --- overlays/halloy-overlay.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/overlays/halloy-overlay.nix b/overlays/halloy-overlay.nix index 419d5e0..283ff97 100644 --- a/overlays/halloy-overlay.nix +++ b/overlays/halloy-overlay.nix @@ -47,7 +47,10 @@ in { }; }; - nativeBuildInputs = with super; [ pkg-config ]; + nativeBuildInputs = with super; [ + pkg-config + makeWrapper + ]; buildInputs = with super; [ libxkbcommon @@ -58,8 +61,20 @@ in { xorg.libXi xorg.libXrandr wayland - alsa-lib.dev # Updated from alsaLib.dev as mentioned in your query + alsa-lib.dev ]; + + # Add this postInstall phase to set up proper library paths + postInstall = '' + wrapProgram $out/bin/halloy \ + --prefix LD_LIBRARY_PATH : ${super.lib.makeLibraryPath [ + super.wayland + super.libxkbcommon + super.vulkan-loader + super.alsa-lib + super.openssl + ]} + ''; meta = with super.lib; { description = "Halloy IRC Client";