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

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

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