From 6aa95929a012e8c3b5f6856bb13d802cd75cdf39 Mon Sep 17 00:00:00 2001 From: ozwaldorf Date: Tue, 2 Jul 2024 16:00:49 -0400 Subject: [PATCH] fix(flake): update inputs, use new crane.mkLib --- flake.lock | 12 ++++++------ flake.nix | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 9c9152087..59fb3689e 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1711586303, - "narHash": "sha256-iZDHWTqQj6z6ccqTSEOPOxQ8KMFAemInUObN2R9vHSs=", + "lastModified": 1719880336, + "narHash": "sha256-VnUCaGI7FEh7tLVsD6OsychPmqjDYXqJEdFG4jK86zs=", "owner": "ipetkov", "repo": "crane", - "rev": "a329cd00398379c62e76fc3b8d4ec2934260d636", + "rev": "047c929ad65d8378f18de95ca66769ca04161caf", "type": "github" }, "original": { @@ -28,11 +28,11 @@ "rust-analyzer-src": [] }, "locked": { - "lastModified": 1711606966, - "narHash": "sha256-nTaO7ZDL4D02dVC5ktqnXNiNuODBUHyE4qEcFjAUCQY=", + "lastModified": 1719901701, + "narHash": "sha256-7yztwIit3Ei6wySJDmRjhrP2VWwfoYifofwJPRXdjDQ=", "owner": "nix-community", "repo": "fenix", - "rev": "aa45c3e901ea42d6633af083c0c555efaf948b17", + "rev": "b7a33f57c6756e4c50f9c46189f8374841c764e8", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 92ae77cb6..8a109f08f 100644 --- a/flake.nix +++ b/flake.nix @@ -42,7 +42,7 @@ let pkgs = (import nixpkgs { inherit system; }); inherit (pkgs) lib; - craneLib = crane.lib.${system}.overrideToolchain ( + craneLib = (crane.mkLib pkgs).overrideToolchain ( fenix.packages.${system}.fromToolchainFile { file = ./rust-toolchain; sha256 = "4HfRQx49hyuJ8IjBWSty3OXCLOmeaZF5qZAXW6QiQNI=";