efibooteditor: enable tests
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
@@ -39,7 +39,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'sh -c "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY efibooteditor"'
|
||||
'';
|
||||
|
||||
env.BUILD_VERSION = "v${finalAttrs.version}";
|
||||
env = {
|
||||
LANG = "C.UTF8";
|
||||
BUILD_VERSION = "v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
cmakeBuildType = "MinSizeRel";
|
||||
cmakeFlags = [ "-DQT_VERSION_MAJOR=6" ];
|
||||
|
||||
@@ -47,6 +51,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
install -Dm644 $src/LICENSE.txt $out/share/licenses/efibooteditor/LICENSE
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
ctest --output-on-failure
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Boot Editor for (U)EFI based systems";
|
||||
homepage = "https://github.com/Neverous/efibooteditor";
|
||||
|
||||
Reference in New Issue
Block a user