mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
noctalia{,-greeter}: run versionCheckHook (#559952)
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
wayland-protocols,
|
||||
wlroots_0_20,
|
||||
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
@@ -68,6 +69,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
wlroots_0_20
|
||||
];
|
||||
|
||||
doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
versionCheckProgram = "${placeholder "out"}/bin/noctalia-greeter";
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
makeBinaryWrapper,
|
||||
autoAddDriverRunpath,
|
||||
installShellFiles,
|
||||
versionCheckHook,
|
||||
|
||||
# libraries
|
||||
cairo,
|
||||
@@ -137,6 +138,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gitMinimal
|
||||
];
|
||||
|
||||
doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user