identity: run checks
This commit is contained in:
parent
95f260494a
commit
e0784fad5f
@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
|
||||
ninja
|
||||
pkg-config
|
||||
rustc
|
||||
rustPlatform.cargoCheckHook
|
||||
rustPlatform.cargoSetupHook
|
||||
wrapGAppsHook4
|
||||
];
|
||||
@ -66,6 +67,20 @@ stdenv.mkDerivation rec {
|
||||
libseccomp
|
||||
];
|
||||
|
||||
mesonBuildType = "release";
|
||||
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
cargoCheckType = if (finalAttrs.mesonBuildType != "debug") then "release" else "debug";
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
cargoCheckHook
|
||||
mesonCheckPhase
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user