ladybird/Toolchain/serenity.nix
jd ba6ba67fa0 Toolchain: Fix serenity.nix
* x11 package name has changed to xlibsWrapper.
* texinfo is necessary for Makeinfo.
* e2fsprogs was recenty fixed on nicpkgs to include fuse2fs to mount
serenity images without root access but it needed some configuration.
2022-03-29 16:36:28 -07:00

38 lines
727 B
Nix

{ pkgs ? import <nixpkgs> { } }:
with pkgs;
stdenv.mkDerivation {
name = "cpp-env";
nativeBuildInputs = [
gcc11
curl
cmake
mpfr
ninja
gmp
libmpc
e2fsprogs
patch
ccache
rsync
unzip
texinfo
# Example Build-time Additional Dependencies
pkgconfig
];
buildInputs = [
# Example Run-time Additional Dependencies
openssl
xlibsWrapper
qemu
# e2fsprogs needs some optional parameter to activate fuse2fs with which
# the qemu image will be mounted without root access.
(e2fsprogs.overrideAttrs (oldAttrs: {
buildInputs = oldAttrs.buildInputs ++ [ pkgs.fuse ];
}))
# glibc
];
hardeningDisable = [ "format" "fortify" ];
}