mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
nix: Add development utilities to shell.nix (#5725)
- Remove hardening flags to allow debug builds (otherwise GCC complains because nix adds the FORTIFY_SOURCE flag, which is not compatible with -O0) - Allow ninja as build system - Add clang-tools dependency for LSP support
This commit is contained in:
parent
7d558edb3e
commit
b9900e67a6
1 changed files with 6 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
# Build tools
|
||||
cmake
|
||||
cmake-format
|
||||
ninja
|
||||
bash
|
||||
curl
|
||||
git
|
||||
|
|
@ -12,6 +13,7 @@
|
|||
# Debug / Test
|
||||
valgrind
|
||||
gdb
|
||||
clang-tools
|
||||
|
||||
# Compiler
|
||||
gcc
|
||||
|
|
@ -23,4 +25,8 @@
|
|||
qt6.full
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
# Make debug builds work
|
||||
# https://github.com/NixOS/nixpkgs/issues/18995
|
||||
hardeningDisable = [ "fortify" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue