Merge pull request #45 from lopsided98/nvidia-local-build

Test.hs: make sure to build the impure NVIDIA version derivation locally
This commit is contained in:
Guillaume Bouchard 2020-04-30 18:55:59 +02:00 committed by GitHub
commit 5f330c2185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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