Commit 8e39e5cf authored by Harinn's avatar Harinn
Browse files

nanomq: use nix-update-script

parent bd34c3ee
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
  zeromq,
  flex,
  bison,
  nix-update-script,

  # for tests
  python3,
@@ -120,6 +121,8 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstallCheck
  '';

  passthru.updateScript = nix-update-script { };

  passthru.tests = {
    withInstallChecks = finalAttrs.finalPackage.overrideAttrs (_: {
      doInstallCheck = true;