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.
This commit is contained in:
parent
3cad0c8e96
commit
91fa921537
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user