Skip to content

Commit dda7d84

Browse files
committed
Depend on gdb/git/clang-tools only for the dev shell
1 parent bc05a82 commit dda7d84

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

flake.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@
8888

8989
gnativeBuildInputs = with pkgs; [
9090
python3
91-
gdb
92-
git
9391
qemu-user
94-
clang-tools
9592
];
9693

9794
mkFina = name: target:
@@ -160,7 +157,12 @@
160157
libffi = if name == "cosmo" then libffi-cosmo else crossPkgs.pkgsStatic.libffi;
161158
in
162159
crossPkgs.mkShell {
163-
nativeBuildInputs = gnativeBuildInputs ++ [ libffi ];
160+
nativeBuildInputs = with pkgs; gnativeBuildInputs ++ [
161+
clang-tools
162+
libffi
163+
gdb
164+
git
165+
];
164166
shellHook = ''
165167
export CPPFLAGS=-I${libffi.dev}/include
166168
export LDFLAGS=-L${libffi.out}/lib

0 commit comments

Comments
 (0)