From 08c1f445a3a9e0ddd3b01ca035ce8587689b0f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Wed, 17 Jan 2024 21:55:44 +0100 Subject: [PATCH] fix: Small cleanup --- flake.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 9fc0417..8ea6818 100644 --- a/flake.nix +++ b/flake.nix @@ -54,7 +54,7 @@ in { # Schemas tell Nix about the structure of your flake's outputs - schemas = flake-schemas.schemas; + inherit (flake-schemas) schemas; checks = forEachSupportedSystem ({ pkgs, system }: { pre-commit-check = pre-commit-hooks.lib.${system}.run { @@ -145,11 +145,6 @@ inherit nixosModule; } // machineModules; - devShells = forEachSupportedSystem ({ pkgs, system }: - { - default = pkgs.mkShell { - inherit (self.checks.${system}.pre-commit-check) shellHook; - }; - }); + devShells = forEachSupportedSystem ({ pkgs, system }: { default = pkgs.mkShell { inherit (self.checks.${system}.pre-commit-check) shellHook; }; }); }; }