summaryrefslogtreecommitdiff
path: root/Toolchain/serenity.nix
blob: 311825b5b10fc1717109da069c327d2931a516bf (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
    pkg-config
    # To create port launcher icons
    imagemagick
  ];
  buildInputs = [
    openssl
    libxcrypt
    xlibsWrapper
    qemu
    e2fsprogs
    fuse2fs
    # To build the GRUB disk image
    grub2
    parted
  ];

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