commit 5f330c2185dc7816fed431d29c4249ab090deb00
parent 76196e5da3e07797a8d37ccf3f1594f6fae13c8f
Author: Guillaume Bouchard <guillaum.bouchard@gmail.com>
Date: Thu, 30 Apr 2020 18:55:59 +0200
Merge pull request #45 from lopsided98/nvidia-local-build
Test.hs: make sure to build the impure NVIDIA version derivation locally
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/nixGL.nix b/nixGL.nix
@@ -32,6 +32,8 @@ let
# To avoid sharing the build result over time or between machine,
# Add an impure parameter to force the rebuild on each access.
time = builtins.currentTime;
+ preferLocalBuild = true;
+ allowSubstitutes = false;
}
"cp /proc/driver/nvidia/version $out || touch $out";