Skip to content

Commit 09c8c63

Browse files
authored
Follow flake inputs in the README example (#167)
1 parent 8ef3f6a commit 09c8c63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ Here's an example of using it in nixos configuration.
6464
6565
inputs = {
6666
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
67-
rust-overlay.url = "github:oxalica/rust-overlay";
67+
rust-overlay = {
68+
url = "github:oxalica/rust-overlay";
69+
inputs.nixpkgs.follows = "nixpkgs";
70+
};
6871
};
6972
7073
outputs = { nixpkgs, rust-overlay, ... }: {

0 commit comments

Comments
 (0)