From e51789fe1ed92795c0ba89ca7c74c34acd8b95ca Mon Sep 17 00:00:00 2001 From: zimbatm Date: Wed, 25 Jan 2023 14:39:54 +0100 Subject: [PATCH] flake: fix flake-parts follow --- flake.lock | 22 +++------------------- flake.nix | 2 +- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index 4f813984..ecf82521 100644 --- a/flake.lock +++ b/flake.lock @@ -2,7 +2,9 @@ "nodes": { "flake-parts": { "inputs": { - "nixpkgs-lib": "nixpkgs-lib" + "nixpkgs-lib": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1670441596, @@ -49,24 +51,6 @@ "type": "github" } }, - "nixpkgs-lib": { - "locked": { - "dir": "lib", - "lastModified": 1665349835, - "narHash": "sha256-UK4urM3iN80UXQ7EaOappDzcisYIuEURFRoGQ/yPkug=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "34c5293a71ffdb2fe054eb5288adc1882c1eb0b1", - "type": "github" - }, - "original": { - "dir": "lib", - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { "flake-parts": "flake-parts", diff --git a/flake.nix b/flake.nix index 97cddae6..3c865631 100644 --- a/flake.nix +++ b/flake.nix @@ -4,7 +4,7 @@ # $ nix flake update --recreate-lock-file inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; inputs.flake-parts.url = "github:hercules-ci/flake-parts"; - inputs.flake-parts.inputs.nixpkgs.follows = "nixpkgs"; + inputs.flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs"; inputs.rust-overlay.url = "github:oxalica/rust-overlay"; inputs.rust-overlay.inputs.nixpkgs.follows = "nixpkgs";