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

stdenv.mkDerivation {
  name = "cpp-env";
  nativeBuildInputs = [
    ccache
    cmake
    curl
    e2fsprogs
    fuse2fs
    gcc12
    gmp
    # To create port launcher icons
    imagemagick
    libmpc
    mpfr
    ninja
    patch
    pkg-config
    rsync
    texinfo
    unzip
  ];

  buildInputs = [
    e2fsprogs
    fuse2fs
    # To build the GRUB disk image
    grub2
    libxcrypt
    openssl
    parted
    qemu
    xlibsWrapper
  ];

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