mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
ba6ba67fa0
* 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.
37 lines
727 B
Nix
37 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" ];
|
|
}
|