From c1558db9a7147d2b44085a9c39400c18ab1adafb Mon Sep 17 00:00:00 2001 From: Paul-Nicolas Madelaine Date: Mon, 25 Sep 2023 00:09:53 +0200 Subject: [PATCH] nix: fix double dependency to `oxalica/rust-overlay` --- flake.lock | 31 ++++--------------------------- flake.nix | 1 + 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/flake.lock b/flake.lock index a5ec1096..8ee5a6b0 100644 --- a/flake.lock +++ b/flake.lock @@ -9,7 +9,9 @@ "nixpkgs": [ "nixpkgs" ], - "rust-overlay": "rust-overlay" + "rust-overlay": [ + "rust-overlay" + ] }, "locked": { "lastModified": 1695081215, @@ -79,35 +81,10 @@ "crane": "crane", "flake-utils": "flake-utils", "nixpkgs": "nixpkgs", - "rust-overlay": "rust-overlay_2" + "rust-overlay": "rust-overlay" } }, "rust-overlay": { - "inputs": { - "flake-utils": [ - "crane", - "flake-utils" - ], - "nixpkgs": [ - "crane", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1695003086, - "narHash": "sha256-d1/ZKuBRpxifmUf7FaedCqhy0lyVbqj44Oc2s+P5bdA=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "b87a14abea512d956f0b89d0d8a1e9b41f3e20ff", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "rust-overlay_2": { "inputs": { "flake-utils": [ "flake-utils" diff --git a/flake.nix b/flake.nix index fed61312..a323a61f 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,7 @@ url = "github:ipetkov/crane"; inputs.flake-utils.follows = "flake-utils"; inputs.nixpkgs.follows = "nixpkgs"; + inputs.rust-overlay.follows = "rust-overlay"; }; rust-overlay = { url = "github:oxalica/rust-overlay";