From 3f4c5ae37e5e26b2a9167eb0503927b41e678871 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Tue, 6 Sep 2022 11:18:29 -0500 Subject: [PATCH] Only one nixpkgs input --- flake.lock | 20 +++----------------- flake.nix | 5 ++++- 2 files changed, 7 insertions(+), 18 deletions(-) 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);