aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgs/gearmulator/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/gearmulator/default.nix b/pkgs/gearmulator/default.nix
index da7338a..1c76235 100644
--- a/pkgs/gearmulator/default.nix
+++ b/pkgs/gearmulator/default.nix
@@ -50,6 +50,17 @@ stdenv.mkDerivation rec {
mesa
];
+ NIX_LDFLAGS = (
+ toString [
+ "-lX11"
+ "-lXcomposite"
+ "-lXcursor"
+ "-lXext"
+ "-lXinerama"
+ "-lXrandr"
+ ]
+ );
+
cmakeFlags = [
"-Dgearmulator_BUILD_FX_PLUGIN=OFF"
"-Dgearmulator_BUILD_JUCEPLUGIN=ON"