From bd6b7ca9e22ba3aaca25c5c8047918c363da7523 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 3 May 2023 14:39:58 +0000 Subject: [PATCH] flake: do not use explicit inputs This ends up being more annoying than useful most of the time anyway... Make a note that we can't just eta-reduce the outputs, due to a nix limitation on flake outputs (see [1]). [1]: https://github.com/NixOS/nix/issues/4384 --- flake.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index b2d1500..30c19b8 100644 --- a/flake.nix +++ b/flake.nix @@ -65,16 +65,6 @@ }; }; - outputs = - inputs @ - { self - , agenix - , flake-parts - , futils - , home-manager - , nixpkgs - , nur - , pre-commit-hooks - }: - import ./flake inputs; + # Can't eta-reduce a flake outputs... + outputs = inputs: import ./flake inputs; }