mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
zig: checks are back!
This commit is contained in:
parent
ded9ec24f8
commit
2dfbbc0266
|
@ -37,6 +37,13 @@ stdenv.mkDerivation rec {
|
|||
export HOME=$TMPDIR;
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
./zig test --cache-dir "$TMPDIR" -I $src/test $src/test/behavior.zig
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://ziglang.org/";
|
||||
description =
|
||||
|
@ -48,4 +55,4 @@ stdenv.mkDerivation rec {
|
|||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
# TODO: checkPhase
|
||||
|
||||
|
|
Loading…
Reference in a new issue