From b337895fcefd35d2a1c8965fe30c8eecb5dcd964 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 9 Jan 2023 12:43:10 +0100 Subject: Update Rust Nix toolchain --- flake.lock | 16 ++++++++-------- flake.nix | 4 ++-- nix/common.nix | 8 ++++---- nix/compile.nix | 2 +- nix/kaniko.nix | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index 4b5713dc..f1f78b55 100644 --- a/flake.lock +++ b/flake.lock @@ -10,17 +10,17 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1666087781, - "narHash": "sha256-trKVdjMZ8mNkGfLcY5LsJJGtdV3xJDZnMVrkFjErlcs=", + "lastModified": 1673262828, + "narHash": "sha256-pDqno5/2ghQDt4LjVt5ZUMV9pTSA5rGGdz6Skf2rBwc=", "owner": "Alexis211", "repo": "cargo2nix", - "rev": "a7a61179b66054904ef6a195d8da736eaaa06c36", + "rev": "505caa32110d42ee03bd68b47031142eff9c827b", "type": "github" }, "original": { "owner": "Alexis211", "repo": "cargo2nix", - "rev": "a7a61179b66054904ef6a195d8da736eaaa06c36", + "rev": "505caa32110d42ee03bd68b47031142eff9c827b", "type": "github" } }, @@ -57,17 +57,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1665657542, - "narHash": "sha256-mojxNyzbvmp8NtVtxqiHGhRfjCALLfk9i/Uup68Y5q8=", + "lastModified": 1673261889, + "narHash": "sha256-7trMsi0z7EfYNC/Nc5EtulvChBHQAo376XRICyWr89Q=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a3073c49bc0163fea6a121c276f526837672b555", + "rev": "baed728abe983508cabc99d05cccc164fe748744", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "a3073c49bc0163fea6a121c276f526837672b555", + "rev": "baed728abe983508cabc99d05cccc164fe748744", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 7d152195..2222895d 100644 --- a/flake.nix +++ b/flake.nix @@ -1,10 +1,10 @@ { description = "Garage, an S3-compatible distributed object store for self-hosted deployments"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/a3073c49bc0163fea6a121c276f526837672b555"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/baed728abe983508cabc99d05cccc164fe748744"; inputs.cargo2nix = { # As of 2022-10-18: two small patches over unstable branch, one for clippy and one to fix feature detection - url = "github:Alexis211/cargo2nix/a7a61179b66054904ef6a195d8da736eaaa06c36"; + url = "github:Alexis211/cargo2nix/505caa32110d42ee03bd68b47031142eff9c827b"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/nix/common.nix b/nix/common.nix index 90e3afaf..80b89102 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -3,15 +3,15 @@ rec { * Fixed dependencies */ pkgsSrc = fetchTarball { - # As of 2022-10-13 - url = "https://github.com/NixOS/nixpkgs/archive/a3073c49bc0163fea6a121c276f526837672b555.zip"; - sha256 = "1bz632psfbpmicyzjb8b4265y50shylccvfm6ry6mgnv5hvz324s"; + # As of 2023-01-09 + url = "https://github.com/NixOS/nixpkgs/archive/baed728abe983508cabc99d05cccc164fe748744.zip"; + sha256 = "1m7kmcjhnj3lx7xqs0nh262c4nxs5n8p7k9g6kc4gv1k5nrcrnpf"; }; cargo2nixSrc = fetchGit { # As of 2022-10-18: two small patches over unstable branch, one for clippy and one to fix feature detection url = "https://github.com/Alexis211/cargo2nix"; ref = "custom_unstable"; - rev = "a7a61179b66054904ef6a195d8da736eaaa06c36"; + rev = "505caa32110d42ee03bd68b47031142eff9c827b"; }; /* diff --git a/nix/compile.nix b/nix/compile.nix index 3ea5035e..5c6b02e3 100644 --- a/nix/compile.nix +++ b/nix/compile.nix @@ -42,7 +42,7 @@ let */ toolchainOptions = if target == null || target == "x86_64-unknown-linux-musl" || target == "aarch64-unknown-linux-musl" then { - rustVersion = "1.63.0"; + rustVersion = "1.65.0"; extraRustComponents = [ "clippy" ]; } else { rustToolchain = pkgs.symlinkJoin { diff --git a/nix/kaniko.nix b/nix/kaniko.nix index 140328b8..e27aaee3 100644 --- a/nix/kaniko.nix +++ b/nix/kaniko.nix @@ -7,7 +7,7 @@ pkgs.buildGoModule rec { owner = "GoogleContainerTools"; repo = "kaniko"; rev = "v${version}"; - sha256 = "1fnclr556avxay6pvgw5ya3xbxfnf2gv4njq2hr4fd6fcjyslq5h"; + sha256 = "TXgzO/NfLXVo5a7yyO3XYSk+9H1CwMF+vwbRx3kchQ8="; }; vendorSha256 = null; -- cgit v1.2.3