diff --git a/flake.lock b/flake.lock index 31b8b21..fd78cb0 100644 --- a/flake.lock +++ b/flake.lock @@ -29,22 +29,6 @@ "type": "indirect" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1637453606, - "narHash": "sha256-Gy6cwUswft9xqsjWxFYEnx/63/qzaFUwatcbV5GF/GQ=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "8afc4e543663ca0a6a4f496262cd05233737e732", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { "nixpkgs": "nixpkgs", @@ -54,7 +38,9 @@ "rust": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_2" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1656384549, diff --git a/flake.nix b/flake.nix index b17cba0..d40d1d2 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,10 @@ { description = "Syndicate utilities"; - inputs.rust.url = "github:oxalica/rust-overlay"; + inputs.rust = { + url = "github:oxalica/rust-overlay"; + inputs.nixpkgs.follows = "nixpkgs"; + }; outputs = { self, nixpkgs, rust }: { lib = nixpkgs.lib.extend (import ./lib.nix);