mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 01:02:20 +00:00
qlcplus: add versionCheckHook
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
libsndfile,
|
||||
fftw,
|
||||
libgpiod,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
@@ -92,6 +93,12 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
# The QApplication needs a platform even to print --version
|
||||
preVersionCheck = ''
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
'';
|
||||
versionCheckKeepEnvironment = [ "QT_QPA_PLATFORM" ];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
# Tags look like QLC+_5.3.0
|
||||
|
||||
Reference in New Issue
Block a user