Update flake.nix

This commit is contained in:
lucy 2026-03-04 22:47:55 +01:00
parent ca6a4c38f8
commit bce33d6bb9

View File

@ -28,24 +28,21 @@
{
default =
pkgs.mkShell.override
{
packages = with pkgs; [
clang-tools
gcc
gcc-arm-embedded
ninja
meson
pkg-config
libcxx
];
shellHook = ''
echo "welcome to c++ devshell nyaaa :3"
'';
NIX_BUILD_SHELL = "zsh";
# Override stdenv in order to change compiler:
# stdenv = pkgs.clangStdenv;
}
{
packages =
with pkgs;
[
clang-tools
cmake
just
]
++ (if stdenv.hostPlatform.system == "aarch64-darwin" then [ ] else [ gdb ]);
};
}
);
};
}
}