rustic: 0.10.3 -> 0.11.0
This commit is contained in:
@@ -72,6 +72,8 @@
|
||||
|
||||
- `services.tandoor-recipes` now uses a sub-directory for media files by default starting with `26.05`. Existing setups should move media files out of the data directory and adjust `services.tandoor-recipes.extraConfig.MEDIA_ROOT` accordingly. See [Migrating media files for pre 26.05 installations](#module-services-tandoor-recipes-migrating-media).
|
||||
|
||||
- `rustic` was upgraded to `0.11.x`, which contains breaking [changes to command-line parameters and configuration file](https://rustic.cli.rs/docs/breaking_changes.html#0110).
|
||||
|
||||
- The packages `iw` and `wirelesstools` (`iwconfig`, `iwlist`, etc.) are no longer installed implicitly if wireless networking has been enabled.
|
||||
|
||||
- `services.kubernetes.addons.dns.coredns` has been renamed to `services.kubernetes.addons.dns.corednsImage` and now expects a
|
||||
|
||||
@@ -5,23 +5,26 @@
|
||||
rustPlatform,
|
||||
installShellFiles,
|
||||
nix-update-script,
|
||||
tzdata,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "rustic";
|
||||
version = "0.10.3";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rustic-rs";
|
||||
repo = "rustic";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-MYl6tcCpWsyU38YSXpK3uFaDpS351ct89JIXhvpVu+Q=";
|
||||
hash = "sha256-2xSQ+nbP7/GsIWvj9sgG+jgIIIesfEW8T9z5Tijd90E=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-RIkOyx1paYKeytNPAcD402hBQi36gys+6lMnmoR24L8=";
|
||||
cargoHash = "sha256-4yiWIlibYldr3qny0KRRIHBqHCx6R9gDiiheGkJrwEY=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
nativeCheckInputs = [ tzdata ];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd rustic \
|
||||
--bash <($out/bin/rustic completions bash) \
|
||||
@@ -29,6 +32,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
--zsh <($out/bin/rustic completions zsh)
|
||||
'';
|
||||
|
||||
# We set TZDIR to avoid this warning during unit tests:
|
||||
# > [WARN] could not find zoneinfo, concatenated tzdata or bundled time zone database
|
||||
# This warning causes the check phase to fail.
|
||||
preCheck = ''
|
||||
export TZDIR=${tzdata}/share/zoneinfo
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user