aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-09-17 23:15:33 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-09-17 23:15:33 +0900
commit3d963b9f676af583c2ab5f29b87beb0c4800e764 (patch)
tree0ef02f0ea8105790074af864d6dd7983c2e28973 /flake.nix
parent4b7d616862dc7d8c73561b85deb0ca1fabf30781 (diff)
nix: include package buildInputs in devShells
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 7 insertions, 1 deletions
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
+ '';
};
});
};