From 69e804839e0ab067cbdd6f8ba6e60c32c63fd261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Thu, 16 Jun 2022 12:25:39 +0200 Subject: [PATCH] flake: don't reinstantiate nixpkgs See https://zimbatm.com/notes/1000-instances-of-nixpkgs for motivation. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 5de810a3..d0792772 100644 --- a/flake.nix +++ b/flake.nix @@ -45,7 +45,7 @@ }; } // utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs { inherit system; }; + pkgs = nixpkgs.legacyPackages.${system}; docs = import ./docs { inherit pkgs; nmdSrc = nmd;