Unverified Commit 91fa9215 authored by Benedikt Peetz's avatar Benedikt Peetz
Browse files

redlib: Use the unstable git updater

The current redlib release is constantly out-of-date, and redlib will
warn users if the deployed version is more than 20 commits behind the
current HEAD.

This means that we cannot rely on the releases, as our package otherwise
effectively turns into a glorified redirection service for other (more
up-to-date) redlib instances.
parent 3cad0c8e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  nixosTests,
  rustPlatform,
  fetchFromGitHub,
  nix-update-script,
}:
rustPlatform.buildRustPackage rec {
  pname = "redlib";
@@ -61,8 +62,9 @@ rustPlatform.buildRustPackage rec {
    SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
  };

  passthru.tests = {
    inherit (nixosTests) redlib;
  passthru = {
    tests = nixosTests.redlib;
    updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
  };

  meta = {