From 979b1bb723854aa489a248eaf7743927ea3f38de Mon Sep 17 00:00:00 2001 From: Pacman99 Date: Wed, 16 Jun 2021 16:41:57 -0700 Subject: [PATCH] flake: drop follows for nixos-generators input --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e8c0b5d..b5fb190 100644 --- a/flake.nix +++ b/flake.nix @@ -7,9 +7,10 @@ devshell.url = "github:numtide/devshell"; utils.url = "github:gytis-ivaskevicius/flake-utils-plus/staging"; nixlib.url = "github:divnix/nixpkgs.lib"; - nixos-generators.url = "github:nix-community/nixos-generators"; + # We only use the nixosModules output which only needs nixpkgs lib - nixos-generators.inputs.nixpkgs.follows = "nixlib"; + # TODO: don't pull another 'nixpkgs' when only nixpkgs lib is needed + nixos-generators.url = "github:nix-community/nixos-generators"; # Only used for development nixpkgs.url = "github:nixos/nixpkgs";