Unverified Commit 52eb593c authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

nextcloud31Packages.apps.recognize: throw a proper error message when the...

nextcloud31Packages.apps.recognize: throw a proper error message when the nextcloud version is not supported
parent 2efa2594
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -27,7 +27,9 @@ let
      modelHash = "sha256-M/j5wVOBLR7xMVJQWDUWAzLajRUBYEzHSNBsRSBUgfM=";
    };
  };
  currentVersionInfo = latestVersionForNc.${ncVersion};
  currentVersionInfo =
    latestVersionForNc.${ncVersion}
      or (throw "recognize currently does not support nextcloud version ${ncVersion}");
in
stdenv.mkDerivation rec {
  pname = "nextcloud-app-recognize";