commit 7bb080c0e52eb4889af8e1c1b292a4803c5f791c
parent 76196e5da3e07797a8d37ccf3f1594f6fae13c8f
Author: Ben Wolsieffer <benwolsieffer@gmail.com>
Date: Wed, 29 Apr 2020 23:45:54 -0400
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";