on master help sign in
Add `inputs.nixpkgs.follows` to `rust-overlay` in `flake.nix` (#1729)
0ff3e3eErin Kim
flake.lock+3−17
@@ -70,22 +70,6 @@
70 "type": "github"
70 "type": "github"
71 }
71 }
72 },
72 },
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− },
89 "root": {
73 "root": {
90 "inputs": {
74 "inputs": {
91 "nixCargoIntegration": "nixCargoIntegration",
75 "nixCargoIntegration": "nixCargoIntegration",
@@ -96,7 +80,9 @@
96 "rust-overlay": {
80 "rust-overlay": {
97 "inputs": {
81 "inputs": {
98 "flake-utils": "flake-utils",
82 "flake-utils": "flake-utils",
99− "nixpkgs": "nixpkgs_2"
83+ "nixpkgs": [
84+ "nixpkgs"
85+ ]
100 },
86 },
101 "locked": {
87 "locked": {
102 "lastModified": 1642128126,
88 "lastModified": 1642128126,
flake.nix+4−1
@@ -3,7 +3,10 @@
3
3
4 inputs = {
4 inputs = {
5 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
5 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
6+ rust-overlay = {
6− rust-overlay.url = "github:oxalica/rust-overlay";
7+ url = "github:oxalica/rust-overlay";
8+ inputs.nixpkgs.follows = "nixpkgs";
9+ };
7 nixCargoIntegration = {
10 nixCargoIntegration = {
8 url = "github:yusdacra/nix-cargo-integration";
11 url = "github:yusdacra/nix-cargo-integration";
9 inputs.nixpkgs.follows = "nixpkgs";
12 inputs.nixpkgs.follows = "nixpkgs";