mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
aa3e13b707
Currently, if building under `nix-shell Toolchain`, serenityOS' gcc won't build because of hardening options added in nix, more specifically the breaking format-security.
31 lines
463 B
Nix
31 lines
463 B
Nix
{ pkgs ? import <nixpkgs> { } }: with pkgs;
|
|
|
|
mkShell.override { stdenv = gcc13Stdenv; } {
|
|
packages = [
|
|
ccache
|
|
cmake
|
|
curl
|
|
e2fsprogs
|
|
fuse2fs
|
|
gcc13
|
|
gmp
|
|
# To create port launcher icons
|
|
imagemagick
|
|
libmpc
|
|
mpfr
|
|
ninja
|
|
patch
|
|
pkg-config
|
|
rsync
|
|
texinfo
|
|
unzip
|
|
# To build the GRUB disk image
|
|
grub2
|
|
libxcrypt
|
|
openssl
|
|
parted
|
|
qemu
|
|
python3
|
|
];
|
|
hardeningDisable = [ "format" ];
|
|
}
|