on master help sign in
Add `inputs.nixpkgs.follows` to `rust-overlay` in `flake.nix` (#1729)

* add `inputs.nixpkgs.follows` to `rust-overlay` * Update flake.lock

commit0ff3e3ea38120474772052ca649d9989405b4ce5 authorErin Kim <79354991+erinkim4@users.noreply.github.com> dateWed 2 Mar 2022, 19:45 (5 years ago) parentc0b86af
2 files changed+7−18
flake.lock+3−17 flake.nix+4−1
flake.lock+3−17
@@ -70,22 +70,6 @@
7070 "type": "github"
7171 }
7272 },
73− "nixpkgs_2": {
74− "locked": {
75− "lastModified": 1637453606,
76− "narHash": "sha256-Gy6cwUswft9xqsjWxFYEnx/63/qzaFUwatcbV5GF/GQ=",
77− "owner": "NixOS",
78− "repo": "nixpkgs",
79− "rev": "8afc4e543663ca0a6a4f496262cd05233737e732",
80− "type": "github"
81− },
82− "original": {
83− "owner": "NixOS",
84− "ref": "nixpkgs-unstable",
85− "repo": "nixpkgs",
86− "type": "github"
87− }
88− },
8973 "root": {
9074 "inputs": {
9175 "nixCargoIntegration": "nixCargoIntegration",
@@ -96,7 +80,9 @@
9680 "rust-overlay": {
9781 "inputs": {
9882 "flake-utils": "flake-utils",
99− "nixpkgs": "nixpkgs_2"
83+ "nixpkgs": [
84+ "nixpkgs"
85+ ]
10086 },
10187 "locked": {
10288 "lastModified": 1642128126,
flake.nix+4−1
@@ -3,7 +3,10 @@
33
44 inputs = {
55 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
6− rust-overlay.url = "github:oxalica/rust-overlay";
6+ rust-overlay = {
7+ url = "github:oxalica/rust-overlay";
8+ inputs.nixpkgs.follows = "nixpkgs";
9+ };
710 nixCargoIntegration = {
811 url = "github:yusdacra/nix-cargo-integration";
912 inputs.nixpkgs.follows = "nixpkgs";