mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 07:40:30 -08: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:
@@ -4,6 +4,7 @@
|
|||||||
# Build tools
|
# Build tools
|
||||||
cmake
|
cmake
|
||||||
cmake-format
|
cmake-format
|
||||||
|
ninja
|
||||||
bash
|
bash
|
||||||
curl
|
curl
|
||||||
git
|
git
|
||||||
@@ -12,6 +13,7 @@
|
|||||||
# Debug / Test
|
# Debug / Test
|
||||||
valgrind
|
valgrind
|
||||||
gdb
|
gdb
|
||||||
|
clang-tools
|
||||||
|
|
||||||
# Compiler
|
# Compiler
|
||||||
gcc
|
gcc
|
||||||
@@ -23,4 +25,8 @@
|
|||||||
qt6.full
|
qt6.full
|
||||||
qt6.wrapQtAppsHook
|
qt6.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Make debug builds work
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/18995
|
||||||
|
hardeningDisable = [ "fortify" ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user