From 6abbf4bacd0e74174a8f5705e26bb0c305c63c3a Mon Sep 17 00:00:00 2001 From: DavHau Date: Thu, 5 Oct 2023 13:43:59 +0200 Subject: [PATCH] clan-cli: unset LD_LIBRARY_PATH This prevents problems with mixed glibc versions that might occur when the cli is called through a browser built against another glibc --- pkgs/clan-cli/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/clan-cli/default.nix b/pkgs/clan-cli/default.nix index d81b9f36..283f547e 100644 --- a/pkgs/clan-cli/default.nix +++ b/pkgs/clan-cli/default.nix @@ -108,6 +108,12 @@ python3.pkgs.buildPythonApplication { src = source; format = "pyproject"; + makeWrapperArgs = [ + # 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" + ]; + nativeBuildInputs = [ setuptools installShellFiles