summaryrefslogtreecommitdiff
path: root/Toolchain/serenity.nix
blob: 1c515cbe8742903156839ea4bf005ba54adee58d (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
35
36
37
38
{ pkgs ? import <nixpkgs> { } }:
with pkgs;

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

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