clan-app: Fix nix run .#clan-app

This commit is contained in:
Qubasa
2024-08-21 13:52:25 +02:00
parent bcf7517435
commit b2530f0b19
3 changed files with 29 additions and 17 deletions

View File

@@ -75,6 +75,7 @@ python3.pkgs.buildPythonApplication rec {
makeWrapperArgs = [
"--set FONTCONFIG_FILE ${fontconfig.out}/etc/fonts/fonts.conf"
"--set WEBUI_PATH $out/${python3.sitePackages}/clan_app/.webui"
# This prevents problems with mixed glibc versions that might occur when the
# cli is called through a browser built against another glibc
"--unset LD_LIBRARY_PATH"