Unverified Commit 5279cea7 authored by Austin Horstman's avatar Austin Horstman
Browse files

cava: add versionCheckHook

parent c52f659b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
  pkgconf,
  portaudio,
  SDL2,
  versionCheckHook,
  withSDL2 ? false,
  withPipewire ? stdenv.hostPlatform.isLinux,
}:
@@ -56,7 +57,10 @@ stdenv.mkDerivation rec {
    autoreconfHook
    autoconf-archive
    pkgconf
    versionCheckHook
  ];
  doInstallCheck = true;
  versionCheckProgramArg = "-v";

  preAutoreconf = ''
    echo ${version} > version