From 5c7c2af2896f9895962bd0cff4df99fd05125609 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 8 Oct 2021 15:47:26 +0200 Subject: [PATCH] nix: use 'inputsFrom' --- flake.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index cdf39b2..c5c0dd4 100644 --- a/flake.nix +++ b/flake.nix @@ -59,10 +59,9 @@ defaultPackage = self.packages.${system}.abacus; devShell = pkgs.mkShell { - inherit (self.defaultPackage.${system}) - checkInputs - nativeBuildInputs - ; + inputsFrom = with self.packages.${system}; [ + abacus + ]; inherit (self.checks.${system}.pre-commit) shellHook; };