forked from pika-org/pika
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
33 lines (30 loc) · 803 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (c) 2022 ETH Zurich
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell.override { stdenv = pkgs.gcc13Stdenv; } {
buildInputs = with pkgs; [
boost
ccache
cmake-format
cmakeCurses
fmt
gperftools
hwloc
mpich
ninja
pkg-config
spdlog
doxygen
python311Packages.breathe
python311Packages.sphinx
python311Packages.sphinx-material
python311Packages.recommonmark
];
hardeningDisable = [ "fortify" ];
CMAKE_GENERATOR = "Ninja";
CMAKE_CXX_COMPILER_LAUNCHER = "ccache";
CXXFLAGS = "-ftemplate-backtrace-limit=0 -fdiagnostics-color=always";
}