diff --git a/pkgs/by-name/di/direwolf/package.nix b/pkgs/by-name/di/direwolf/package.nix index 348a1d65cc41..b25d6eed655f 100644 --- a/pkgs/by-name/di/direwolf/package.nix +++ b/pkgs/by-name/di/direwolf/package.nix @@ -16,6 +16,7 @@ espeak, udev, udevCheckHook, + versionCheckHook, nix-update-script, extraScripts ? false, }: @@ -59,6 +60,7 @@ stdenv.mkDerivation (finalAttrs: { perl espeak ]; + nativeInstallCheckInputs = [ versionCheckHook ]; preConfigure = lib.optionals (!extraScripts) '' echo "" > scripts/CMakeLists.txt @@ -85,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: { doInstallCheck = true; + versionCheckProgramArg = [ "-u" ]; + passthru.updateScript = nix-update-script { }; meta = {