summary refs log tree commit diff
path: root/pkgs/os-specific/linux/nvidia-x11
diff options
context:
space:
mode:
authorAbdelhakim Qbaich <abdelhakim@qbaich.com>2021-07-14 00:24:54 -0700
committerAbdelhakim Qbaich <abdelhakim@qbaich.com>2021-07-14 00:24:54 -0700
commite1e1f539f04add2531f3e8444add152bcc0ab21e (patch)
treea0edcf9334420a178df82ec2c0665285ec60298d /pkgs/os-specific/linux/nvidia-x11
parent9ea790e2f024bfaaf891890dea752a9d1ff8f3e3 (diff)
downloadnixpkgs-e1e1f539f04add2531f3e8444add152bcc0ab21e.tar
nixpkgs-e1e1f539f04add2531f3e8444add152bcc0ab21e.tar.gz
nixpkgs-e1e1f539f04add2531f3e8444add152bcc0ab21e.tar.bz2
nixpkgs-e1e1f539f04add2531f3e8444add152bcc0ab21e.tar.lz
nixpkgs-e1e1f539f04add2531f3e8444add152bcc0ab21e.tar.xz
nixpkgs-e1e1f539f04add2531f3e8444add152bcc0ab21e.tar.zst
nixpkgs-e1e1f539f04add2531f3e8444add152bcc0ab21e.zip
nvidia-x11: compile nvidia-uvm.ko with HMM support
Diffstat (limited to 'pkgs/os-specific/linux/nvidia-x11')
-rwxr-xr-xpkgs/os-specific/linux/nvidia-x11/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/nvidia-x11/builder.sh b/pkgs/os-specific/linux/nvidia-x11/builder.sh
index 70fc5126a93..e6ad62b1128 100755
--- a/pkgs/os-specific/linux/nvidia-x11/builder.sh
+++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh
@@ -20,7 +20,7 @@ buildPhase() {
         sysSrc=$(echo $kernel/lib/modules/$kernelVersion/source)
         sysOut=$(echo $kernel/lib/modules/$kernelVersion/build)
         unset src # used by the nv makefile
-        make IGNORE_PREEMPT_RT_PRESENCE=1 SYSSRC=$sysSrc SYSOUT=$sysOut module -j$NIX_BUILD_CORES
+        make IGNORE_PREEMPT_RT_PRESENCE=1 NV_BUILD_SUPPORTS_HMM=1 SYSSRC=$sysSrc SYSOUT=$sysOut module -j$NIX_BUILD_CORES
 
         cd ..
     fi