From 4a79bedfd27de01053d16c26817461fdca90a8e1 Mon Sep 17 00:00:00 2001 From: Edmund Wu Date: Tue, 2 Jul 2019 14:36:21 -0400 Subject: [PATCH] nvidia_x11.settings.libXNVCtrl: set OUTPUTDIR for build --- pkgs/os-specific/linux/nvidia-x11/settings.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index 0dd2ffb1ec2..5420a651c79 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -24,6 +24,10 @@ let cd src/libXNVCtrl ''; + makeFlags = [ + "OUTPUTDIR=." # src/libXNVCtrl + ]; + installPhase = '' mkdir -p $out/lib mkdir -p $out/include/NVCtrl