From a010c5486849bf0a38082663e55e86ebe9b2b061 Mon Sep 17 00:00:00 2001 From: xenia Date: Sat, 8 Jun 2024 22:40:15 +0200 Subject: [PATCH] Rust-overlay nixpkgs mark as follows --- rust/flake.lock | 20 +++----------------- rust/flake.nix | 5 ++++- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/rust/flake.lock b/rust/flake.lock index 7ded82d..6b2e6fa 100644 --- a/rust/flake.lock +++ b/rust/flake.lock @@ -50,22 +50,6 @@ "type": "indirect" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1706487304, - "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { "flake-utils": "flake-utils", @@ -76,7 +60,9 @@ "rust-overlay": { "inputs": { "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs_2" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1717813066, diff --git a/rust/flake.nix b/rust/flake.nix index 4173deb..65b74f8 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -3,7 +3,10 @@ inputs = { flake-utils.url = "github:numtide/flake-utils"; - rust-overlay.url = "github:oxalica/rust-overlay"; + rust-overlay = { + url = "github:oxalica/rust-overlay"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, flake-utils, rust-overlay }: