From 3d963b9f676af583c2ab5f29b87beb0c4800e764 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Tue, 17 Sep 2024 23:15:33 +0900 Subject: nix: include package buildInputs in devShells Signed-off-by: Ophestra Umiker --- flake.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index aa10f3db..fb88f99b 100644 --- a/flake.nix +++ b/flake.nix @@ -34,7 +34,13 @@ devShells = forAllSystems (system: { default = nixpkgsFor.${system}.mkShell { - buildInputs = with nixpkgsFor.${system}; [ self.packages.${system}.fortify ]; + buildInputs = + with nixpkgsFor.${system}; + [ self.packages.${system}.fortify ] ++ self.packages.${system}.fortify.buildInputs; + + shellHook = '' + which fortify + ''; }; }); }; -- cgit v1.3.1