From 79dc802edf7aff84395023f2669cd409387742b9 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Thu, 27 Apr 2023 11:47:32 +0200 Subject: [PATCH] Add LD_PRELOAD hack to objprog shell --- shells/objectgericht-project.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shells/objectgericht-project.nix b/shells/objectgericht-project.nix index e1c66cf1..3d4abad7 100644 --- a/shells/objectgericht-project.nix +++ b/shells/objectgericht-project.nix @@ -27,4 +27,10 @@ command = "mvn clean"; } ]; + env = [ + { + name = "LD_PRELOAD"; + value = "${pkgs.xorg.libXtst}/lib/libXtst.so.6"; + } + ]; }