Files
Cockatrice/shell.nix
Basile Clement b9900e67a6 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
2025-03-15 19:03:26 +00:00

33 lines
545 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
# Build tools
cmake
cmake-format
ninja
bash
curl
git
qtcreator
# Debug / Test
valgrind
gdb
clang-tools
# Compiler
gcc
# Libraries
openssl
protobuf
qt6.qtbase
qt6.full
qt6.wrapQtAppsHook
];
# Make debug builds work
# https://github.com/NixOS/nixpkgs/issues/18995
hardeningDisable = [ "fortify" ];
}