mirror of
https://github.com/nix-community/flakelight.git
synced 2025-06-21 01:57:57 +02:00
Don't substitute flake checks
Querying caches is slow and these are unlikely to be found on a cache.
This commit is contained in:
parent
f6e77f2219
commit
9c4ffe2b9e
@ -10,12 +10,14 @@ let
|
|||||||
inherit (flakelight.types) coercedTo' drv nullable optFunctionTo stringLike;
|
inherit (flakelight.types) coercedTo' drv nullable optFunctionTo stringLike;
|
||||||
|
|
||||||
mkCheck = name: pkgs: cmd:
|
mkCheck = name: pkgs: cmd:
|
||||||
pkgs.runCommand "check-${name}" { } ''
|
pkgs.runCommand "check-${name}"
|
||||||
cp --no-preserve=mode -r ${src} src
|
{ allowSubstitutes = false; }
|
||||||
cd src
|
''
|
||||||
${cmd}
|
cp --no-preserve=mode -r ${src} src
|
||||||
touch $out
|
cd src
|
||||||
'';
|
${cmd}
|
||||||
|
touch $out
|
||||||
|
'';
|
||||||
|
|
||||||
checkType = mkOptionType {
|
checkType = mkOptionType {
|
||||||
name = "checkType";
|
name = "checkType";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user