Test.hs: make sure to build the impure NVIDIA version derivation locally

This commit is contained in:
Ben Wolsieffer 2020-04-29 23:45:54 -04:00
parent 76196e5da3
commit 7bb080c0e5

View File

@ -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";