From 0f747fca033ac081722db9191402814a382f9ed4 Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Thu, 25 Sep 2025 11:46:57 -0400 Subject: [PATCH] docs(README): deduplicate Nixpkgs in dev shell --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 175e069b..dd3a0c9a 100644 --- a/README.md +++ b/README.md @@ -115,11 +115,14 @@ Running `nix develop` will create a shell with the default beta Rust toolchain i inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - rust-overlay.url = "github:oxalica/rust-overlay"; flake-utils.url = "github:numtide/flake-utils"; + rust-overlay = { + url = "github:oxalica/rust-overlay"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }: + outputs = { self, nixpkgs, flake-utils, rust-overlay, ... }: flake-utils.lib.eachDefaultSystem (system: let overlays = [ (import rust-overlay) ];