mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03: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.
38 lines
727 B
Nix
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" ];
|
|
}
|