1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 04:50:46 +00:00
serenity/Toolchain/serenity.nix
Ali Caglayan 0124d731ce Toolchain: Remove xlibswrapper and add python3 to serenity.nix
xlibswrapper is removed from `Toolchain/serenity.nix` as it is a
wrapper package and has been deprecated. We don't use it in the build
anyway.

This fixes #19286

During the build, python3 is required so we add `python3` as a build
dependency.
2023-09-01 11:52:04 +02:00

40 lines
530 B
Nix

{ 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
python3
];
hardeningDisable = [ "format" "fortify" ];
}