From 5275ae60b0140f5bf326ded4e0bcbcf7121977b5 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Tue, 3 Sep 2024 16:47:48 +0200 Subject: [PATCH] chore(flake-inputs): use a cargo2nix reference without a deprecated Nix feature Otherwise, this make it hard for people with strict deprecation policies to use the devshell. Signed-off-by: Raito Bezarius --- flake.lock | 14 +++++++------- flake.nix | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index a8ebe3c2..0b835517 100644 --- a/flake.lock +++ b/flake.lock @@ -12,17 +12,17 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1666087781, - "narHash": "sha256-trKVdjMZ8mNkGfLcY5LsJJGtdV3xJDZnMVrkFjErlcs=", + "lastModified": 1725369207, + "narHash": "sha256-nIMmEOHOSSkyEZzIwXdKRmilV2FboLIa4ceipJc3oNo=", "owner": "Alexis211", "repo": "cargo2nix", - "rev": "a7a61179b66054904ef6a195d8da736eaaa06c36", + "rev": "0f857db8af0f9e2d9223b1605e5318c1cf8b7235", "type": "github" }, "original": { "owner": "Alexis211", "repo": "cargo2nix", - "rev": "a7a61179b66054904ef6a195d8da736eaaa06c36", + "rev": "0f857db8af0f9e2d9223b1605e5318c1cf8b7235", "type": "github" } }, @@ -58,11 +58,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1724395761, - "narHash": "sha256-zRkDV/nbrnp3Y8oCADf5ETl1sDrdmAW6/bBVJ8EbIdQ=", + "lastModified": 1725194671, + "narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ae815cee91b417be55d43781eb4b73ae1ecc396c", + "rev": "b833ff01a0d694b910daca6e2ff4a3f26dee478c", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 962418a1..c313135d 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,8 @@ 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"; + # with non deprecated URL literals. + url = "github:Alexis211/cargo2nix/0f857db8af0f9e2d9223b1605e5318c1cf8b7235"; # As of 2023-04-25: # - my two patches were merged into unstable (one for clippy and one to "fix" feature detection)