summaryrefslogtreecommitdiff
path: root/Toolchain/serenity.nix
blob: 900e3280c244714b4ace8a37c1babc69cbfc9637 (plain)
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
34
{ pkgs ? import <nixpkgs> { } }:
with pkgs;

stdenv.mkDerivation {
  name = "cpp-env";
  nativeBuildInputs = [
    gcc11
    curl
    cmake
    mpfr
    ninja
    gmp
    libmpc
    e2fsprogs
    patch
    ccache
    rsync
    unzip
    texinfo
    # Example Build-time Additional Dependencies
    pkgconfig
  ];
  buildInputs = [
    # Example Run-time Additional Dependencies
    openssl
    xlibsWrapper
    qemu
    e2fsprogs
    fuse2fs
    # glibc
  ];

  hardeningDisable = [ "format" "fortify" ];
}