diff --git a/builtinModules/checks.nix b/builtinModules/checks.nix index 4c2afd5..c8f51a2 100644 --- a/builtinModules/checks.nix +++ b/builtinModules/checks.nix @@ -10,12 +10,14 @@ let inherit (flakelight.types) coercedTo' drv nullable optFunctionTo stringLike; mkCheck = name: pkgs: cmd: - pkgs.runCommand "check-${name}" { } '' - cp --no-preserve=mode -r ${src} src - cd src - ${cmd} - touch $out - ''; + pkgs.runCommand "check-${name}" + { allowSubstitutes = false; } + '' + cp --no-preserve=mode -r ${src} src + cd src + ${cmd} + touch $out + ''; checkType = mkOptionType { name = "checkType";