-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add debugger tools to C language pack #1216
Conversation
|
f942654
to
7555781
Compare
@domenkozar the latest commit should fix the issue. For future reference, how do one know which packages are broken? |
2227060
to
55ec49b
Compare
I've run into an error due to this PR on Backtrace
My config: {
pkgs,
lib,
config,
inputs,
...
}:
rec {
# https://devenv.sh/packages/
packages =
with pkgs;
[
git
sqlite
sqlitebrowser
]
++ lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ darwin.apple_sdk.frameworks.AppKit ])
++ lib.optionals pkgs.stdenv.isLinux (
with pkgs;
[
glib
gtk3
trunk
# misc. libraries
openssl
# GUI libs
libxkbcommon
libGL
fontconfig
vulkan-loader
# wayland libraries
wayland
# x11 libraries
xorg.libXcursor
xorg.libXrandr
xorg.libXi
xorg.libX11
]
);
# https://devenv.sh/languages/
languages.rust.enable = true;
languages.rust.channel = "stable";
languages.rust.targets = [ "wasm32-unknown-unknown" ];
env.LD_LIBRARY_PATH = lib.makeLibraryPath packages;
pre-commit.hooks = {
nixfmt.enable = true;
nixfmt.package = pkgs.nixfmt-rfc-style;
detect-private-keys.enable = true;
detect-private-keys.excludes = [ "tests/" ];
};
} If I add I'm not sure, why the |
@k3yss let's disable gdb for aarch64-linux |
This PR adds
gdb
andvalgrind
to the list of default packages, which are important tools for developing with C.